Advertisement
suspensed_

Untitled

Feb 24th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. def print_friends_count(friends_count):
  2. for i in range(friends_count(1, 11)):
  3. print(i)
  4. if friends_count == 1:
  5. print('У тебя 1 друг')
  6. elif 2 <= friends_count <= 4:
  7. print('У тебя ' + str(friends_count) + ' друга')
  8. elif friends_count >= 5:
  9. print('У тебя ' + str(friends_count) + ' друзей')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement