Guest User

Kod

a guest
Nov 24th, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.46 KB | None | 0 0
  1. c = 4
  2. b = 100
  3.  
  4. otazka = int(input("kolik chces otazek?"))
  5.        
  6. if c:
  7.     for i in range(4):
  8.         odpoved= int(input("zadej cislo: "))
  9.         if odpoved == 100:
  10.             print("ano")
  11.         else:
  12.             print("ne")
  13.             print("100")
  14.  
  15. elif b:
  16.     for i in range(100):
  17.         odpoved= int(input("zadej cislo: "))
  18.         if odpoved == 100:
  19.             print("ano")
  20.         else:
  21.             print("ne")
  22.             print("100")
Add Comment
Please, Sign In to add comment