0
Help in recursion.
I want to know how to understand a program having recursion by just directy seeing the code.
3 Answers
+ 1
def func():
name = input('Enter name or 'end' to end > ')
if name == 'end':
return
else:
print("Hi" + name)
func()