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