Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- word = "программист"
- if a % 10 == 0 or 10 < a < 20 or 10 < a % 100 < 15 :
- plus = "ов"
- elif a % 10 == 1:
- plus = ""
- elif a % 10 <= 4:
- plus = "а"
- else:
- plus = "ов"
- print(a, word + plus)
Add Comment
Please, Sign In to add comment