0

Where is the error

light_on=True door_locked=False Print(light_on OR door_locked) Print(light_on AND door_locked)

28th Oct 2025, 7:23 PM
Waleed Dreadi
2 Réponses
+ 5
Hi! Please, write: print -> not Print or and -> not OR AND Python is case sensitive language
28th Oct 2025, 7:44 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
The strings are not having quotation marks on both side and like the first post,Print should be print and use snake case (_) on all spaces,hope this will solve your problem!
29th Oct 2025, 4:05 AM
anand ekawade
anand ekawade - avatar