SHARE
TWEET

Untitled

a guest Aug 19th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. input = int(input("Wybierz listę od 1 do 3: ")) - 1
  2. list1 = ["123:456:789".split(":")[input],
  3.                 "123:456:789".split(":")[input],
  4.                 "123:456:789".split(":")[input],
  5.                 "123:456:789".split(":")[input]]
  6. if input < 0:
  7.     print("Podana liczba jest zbyt mała.")
  8. elif input > 2:
  9.     print("Podana liczba jest zbyt wielka.")
  10. else:
  11.     print(list1)
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