Mroowczy

Untitled

Aug 18th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2.  
  3. my_number = random.randint(0, 20)
  4. guess = 20
  5.  
  6. print ('zgadnij moja liczbe')
  7. while my_number != guess:
  8. print ('moja liczba jest wyzsza' if my_number >guess else 'moj nr jest nizszy')
  9. guess = int(input())
  10. else:
  11. print ('brawo!!')
Add Comment
Please, Sign In to add comment