+ 1

Can anyone tell me what I'm doing wrong here please?

Coding help https://code.sololearn.com/cc0HTQd1Brno/?ref=app

16th Sep 2021, 10:30 AM
Emma Cooke
6 Answers
16th Sep 2021, 10:37 AM
Tim
Tim - avatar
0
If x=command here u assigning values
16th Sep 2021, 10:34 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
commands = ["Lights Off", "Lock the door", "Open the door", "Make Coffee", "Shut down"] x = input() if (x in commands):print("OK") else:print("not supported")
16th Sep 2021, 11:42 AM
Mohd Aadil
Mohd Aadil - avatar
0
commands = ["Lights Off", "Lock the door", "Open the door", "Make Coffee", "Shut down"] x = input("Enter a command: ") if x in commands: print("OK") else: print("not supported") I hope this was useful
18th Sep 2021, 1:00 AM
Joseph Edet
Joseph Edet - avatar
0
Thank you
18th Sep 2021, 8:11 AM
Emma Cooke
0
Oh, it's still not solving the 3rd and 4th test cases and it's still telling me to try again. What else could be wrong? Or is it a bug with the programme?
18th Sep 2021, 8:14 AM
Emma Cooke