Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input())
- num_body_repeat = int(num - 2)
- num_body = int(num - 1)
- def prin_tire():
- for a in range(0, num * 2):
- print("-", end='')
- def print_body():
- for a in range(0, num_body_repeat):
- print("-", end='')
- for a in range(0, num_body):
- print("\/", end='')
- print("-")
- prin_tire()
- print()
- print_body()
- prin_tire()
Advertisement
Add Comment
Please, Sign In to add comment