We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc7c5f commit ec88f42Copy full SHA for ec88f42
1 file changed
PythonBlueBox.py
@@ -56,15 +56,15 @@
56
57
tone_set = user_tones
58
while True:
59
- commands = input('>>>')
+ commands = input('>>>').upper()
60
for command in commands:
61
- if command.upper() is 'U':
+ if command is 'U':
62
63
continue
64
- elif command.upper() is 'O':
+ elif command is 'O':
65
tone_set = op_tones
66
67
- elif command.upper() is 'P':
+ elif command is 'P':
68
time.sleep(length)
69
70
try:
0 commit comments