I was watching this tutorial of how to make an image viewer:
Basically my question is if this part of code is considered recursive or not and why:
def forward(image_number):
global my_label
global button_forward
global button_back
my_label.grid_forget()
my_label = tk.Label(image=image_list[image_number-1])
button_forward = tk.Button(root, text=">>", command=lambda:forward(image_number+1)) #is this recursive?
button_back = tk.Button(root, text="<<", command=lambda:back(image_number-1))