SHARE
TWEET

Untitled

a guest Oct 15th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from random import randint
  2.  
  3. sisestus1 = input("Kui soovite ise valida kummal tribüünil istuda, siis sisestage ""'ise'"": ")
  4.  
  5. if sisestus1 == "ise":
  6.     tribyyni_valik = input("Kui soovite põhjatribüünile, siis siestage ""p"": ")
  7.     if tribyyni_valik == "p":
  8.         print("Valisite ise. Pilet on põhjatribüünile")
  9.     else:
  10.         print("Valisite ise. Pilet on lõunatribüünile")
  11. else:
  12.     if randint(1,100) <= 33:
  13.         print ("Pilet loositi. Pilet on lõunatribüünile")
  14.     else:
  15.         print ("Pilet loositi. Pilet on põhjatribüünile")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top