0

Is there any jump or goto statement in python?

What technique should I use if I want to jump back to any previous line of my code, for repeating the certain code? Isn't there any option except 'while loop'?

24th May 2019, 10:43 AM
Siddiqui Shazia
Siddiqui Shazia - avatar
2 Answers
+ 2
A function call works similar to a jump with a go back to where it was called.
24th May 2019, 1:51 PM
Dragonxiv
Dragonxiv - avatar
0
Thanks 😊 Dragonxiv
24th May 2019, 3:06 PM
Siddiqui Shazia
Siddiqui Shazia - avatar