Here is the code:
def print_variables(vars):
for i in range(len(vars)):
print(f"{i + 1}: {vars[i]}")
print_variables(["Red", "Green", "Blue", "Orange", "Yellow"])
On the 3rd line it is giving the error "Invalid Syntax" and I don't know why. I am new to python.