+ 1

How to cancel a statement in python.

I want to cancel "s" from showing. Not want to clear first without clearing first state. https://code.sololearn.com/c6Eh7fqT0nu7/?ref=app

18th Dec 2020, 12:53 PM
Sooraj K Sunu
Sooraj K Sunu - avatar
3 odpowiedzi
+ 4
Add # before the statement can comment the statement and thus stop it from executing.
18th Dec 2020, 12:58 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
Or you assign a boolean variable. Then put "s" in an if statement that is executed only when the boolean is True
18th Dec 2020, 1:22 PM
Lisa
Lisa - avatar