SHARE
TWEET

Untitled

a guest Dec 7th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # объявите функцию здесь
  2. def print_friends_count(friends_count):
  3.     if friends_count == 1:
  4.         print('У тебя 1 друг')
  5.     elif 2 <= friends_count <= 4:
  6.         print('У тебя ' + str(friends_count) + ' друга')
  7.     elif friends_count >= 5:
  8.         print('У тебя ' + str(friends_count) + ' друзей')
  9. print_friends_count(4)
  10. print('у тебя 4 друга')
  11. print_friends_count(5)
  12. print('у тебя 4 друга')
  13. print_friends_count(6)
  14. print('у тебя 4 друга')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top