Advertisement
fluxikk

Untitled

Dec 7th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. import random
  2. l = random.randint(1, 5)
  3. z = int(input("Jaką liczbę wylosował program? "))
  4. if z == l:
  5. print("Dobrze, zgadłeś!")
  6. else:
  7. print("Źle, program wylosował liczbę: {}".format(l))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement