Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- output = ('.' * (n - 1) + '|' + '\\/' * n + '|' + '.' * (n - 1) + '\n'
- + '.' * (n - 1) + '|' + '~' * (2 * n) + '|' + '.' * (n - 1) + '\n')
- for i in range(1, n + 1):
- output += '.' * (n - 1) + '|' + ' ' * (i - 1)
- for j in range(n, i - 1, -1):
- output += '{}'
- output += f'{" " * (i - 1)}|{"." * (n - 1)}\n'
- output += ('.' * (n - 1) + '|' + ' ' * (n - 2) + 'MEOW' + ' ' * (n - 2) + '|' + '.' * (n - 1) + '\n'
- + '.' * (n - 1) + '|' + ' ' * (n - 2) + 'FOOD' + ' ' * (n - 2) + '|' + '.' * (n - 1) + '\n')
- for i in range(1, n + 1):
- output += "." * (n - 1) + '|' + ' ' * (n - i)
- for j in range(1, i + 1):
- output += '{}'
- output += f'{" " * (n - i)}|{"." * (n - 1)}\n'
- output += ('.' * (n - 1) + '|' + '~' * (2 * n) + '|' + '.' * (n - 1) + '\n'
- + '.' * (n - 1) + '|' + '\\/' * n + '|' + '.' * (n - 1))
- print(output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement