+ 1

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

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

19th Feb 2022, 2:15 PM
Bleart B Prekadini
3 Antworten
+ 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
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
VRVivek