Advertisement
Guest User

Untitled

a guest
May 26th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. notes = ["до","ре","ми","фа","соль","ля","си"]
  2. isGood = False
  3. while True:
  4. if isGood:
  5. break
  6. copy = notes.copy()
  7. isGood = False
  8. while True:
  9. note = input()
  10. print("так")
  11. if note in copy:
  12. i = copy.index(note)
  13. if (i != 0):
  14. break
  15. copy.remove(note)
  16. if len(copy) == 0:
  17. isGood = True
  18. break
  19. continue
  20. break
  21. if isGood:
  22. print("Молодец!")
  23. print(notes)
  24. j = 0
  25. while True:
  26. if j >= 2:
  27. break
  28. if input() not in notes:
  29. break
  30. j = j + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement