Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = int(input("Sisesta täisarv vahemikus 2-10! "))
- if x < 2:
- print("Arv peab olema suurem kui 1!")
- t = "# "
- print(t*x)
- for i in range (x-2):
- print(t + (" "*(x - 2)) + t)
- print(t*x)
Advertisement
Add Comment
Please, Sign In to add comment