+ 1

Can somebody help and tell me what is wrong with this code


19th Feb 2022, 2:15 PM
Bleart B Prekadini
2 Answers
+ 5
Bleart B Prekadini , the third last line is print(...) but should be input(). currently no input is taken for variable choice. choice = input('continue? yes/no') happy coding!
19th Feb 2022, 2:32 PM
Lothar - avatar
+ 1
Python accepts indentation of even spaces or in tabs. You have given 3 spaces as indentation for if statement. So it does not work.
19th Feb 2022, 2:26 PM