Skip to content
Advertisement

There is an outputting issue with def commands [closed]

image of code

this is the problem, def commands are like a save point, but there useless if I can’t output anything so…..any suggestions?

Advertisement

Answer

First of all you have never called the continu() function so what you want will never be printed.

Secondly, indent line 7 with line 6 to call it again.

And lastly….to make the thing work, create the continu() function outside choiceone() and then as I said at the beginning, call continu() after printing ‘hi’

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement