Advertisement
ufo404

[quiz] if #3

Feb 26th, 2020
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. x = 5
  2.  
  3. if x == 1:
  4.   print("Blok diamentu")
  5. elif x > 5:
  6.   print("Blok złota")
  7. else:
  8.   if x != 5:
  9.     print("Blok żelaza")
  10.   elif x >= 5:
  11.     print("Redstone")
  12.   else:
  13.     print("Piasek")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement