0
How do you get a Python code to start from top once finished?
3 Respuestas
+ 2
Python does read from the top. The output order will depend on what you have told it to do i.e.
def funcone():
Print(1)
def functwo():
Print(2)
#it depends on the order you call:
functwo()
funcone()
Output:
2
1
or if you mean to repeat the code then you could enclose it within a while loop or make sure it's a function and at the end use an if statement to recall it (start again).
+ 2
About what are you talking about please explain clearly.