Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Объявите функцию здесь
- def print_friends_count(friends_count):
- if friends_count == 0:
- print('У тебя нет друзей')
- elif friends_count == 1:
- print('У тебя', friends_count, 'друг')
- elif friends_count >= 2 and friends_count <= 4:
- print('У тебя', friends_count, 'друга')
- elif friends_count >= 5 and friends_count < 20:
- print('У тебя', friends_count, 'друзей')
- else:
- print('Ого, сколько у тебя друзей! Целых', friends_count)
- print_friends_count(1)
- print_friends_count(11)
- print_friends_count(56)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement