Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- my_number = random.randint(0,20)
- print ('zgadnij moją liczbę')
- guess = int(input())
- while my_number!=guess:
- print ('moja liczba jest wyzsza' if my_number>guess else 'moja liczba jest nizsza')
- guess = int(input())
- else:
- print ('brawo')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement