Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def letter_pi(size):
- for row in range(1, size+1):
- for collumn in range(1, size+1):
- if collumn == 2 or collumn == size-1:
- print("#", end = "")
- elif row == 1 and collumn != size:
- print("#",end = "")
- elif row == size and collumn == size:
- print("#", end="")
- else:
- print(".", end="")
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement