Hi I am struggling to understand exactly what recursion is, It is a requirement of the program I am writing(a snake game) and I cannot find a clear definition of what is classified as recursion. Could someone tell me if the code below is an example of this?
while True:
    #recieve input
    player_name = input("Enter a name between 0 and 20 characters: ")
    #if length is within boundaries the loop is stopped
    if len(player_name) > 0 and len(player_name) <= 20: break
    #if the name is outwith the boundaries a message is printed and the loop restarts
    print("Too long/short, try again.")
 
     
     
    