+ 1

Why can't i write something as input in my code? Pls help. Thanks!

https://code.sololearn.com/c8W4dmAK1rJw/?ref=app

20th Aug 2019, 8:31 AM
CodingLover1_Python
2 odpowiedzi
+ 5
my_input = input("Yes or no?") if my_input == "yes" #code goes here
20th Aug 2019, 8:33 AM
Trigger
Trigger - avatar
+ 1
Thank you!
20th Aug 2019, 8:33 AM
CodingLover1_Python