Advertisement
Spocoman

Cat Watch

Jan 8th, 2022
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. n = int(input())
  2.  
  3. for i in range(0, n - 2):
  4.     print(f'{" " * n}||{"_" * (n - 2)}||{" " * n}')
  5.  
  6. print(f'{" " * (n - 1)}//{" " * n}\\\\{" " * (n - 1)}')
  7.  
  8. for i in range(1, n - 3):
  9.     print(f'{" " * (n - 2)}||{" " * (n + 2)}||{("]" if i == int((n - 3) / 2) else "")}')
  10.  
  11. print(f'{" " * (n - 1)}\\\\{" " * n}//{" " * (n - 1)}')
  12.  
  13. for i in range(0, n - 2):
  14.     print(f'{" " * n}||{"_" * (n - 2)}||{" " * n}')
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement