Oct-23-2019, 05:31 AM
Not sure why you are calling func() inside the function, but this worked for me:
def func(): for i in range(5): print ("Hello") func()Maybe your IDE is detecting an infinite loop? Your current code will cause a stack overflow.