Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. def asd(c):
  2. print([c])
  3.  
  4. def asd1(c):
  5. print([c])
  6.  
  7. def asd2(c):
  8. print([c])
  9.  
  10. def aasd3(c):
  11. print([c])
  12.  
  13.  
  14. a=['q','w','e']
  15. b=['a','s','d','f']
  16.  
  17. try:
  18. qa=int(input())
  19. if qa == 1:
  20. c = a[:]
  21. asd(c)
  22. asd1(c)
  23. asd2(c)
  24.  
  25. elif qa == 0:
  26. c = b[:]
  27. asd(c)
  28. asd1(c)
  29. asd2(c)
  30. aasd3(c)
  31.  
  32. else:
  33. print("Не то число")
  34.  
  35. except ValueError:
  36. print("Введи число")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement