+ 3
How to loop code without using for loop or while loop?
Please share you way to loop code without using for loop or while loop.
6 odpowiedzi
+ 4
def a():
i = input()
print("You can't stop me!")
b()
def b():
a()
a()
+ 3
Recursion
+ 3
Recursion is the only way to repeat the code without loops
+ 2
https://code.sololearn.com/cn86p156lhx5/?ref=app
This is my way to achive the looping without for loop or while loop.
+ 1
You can use goto statement but it's not good way
0
loop
# code
end