My question is that I was writing a program in Python 3 trying to think of a way to repeat a function from within a function, when on StackOverflow I found I can do this with the else statement:
def program():
var = (input('Pick A Car: BMW Or Nissian'))
if var == 'BMW':
print('You Picked BMW \n')
if var == 'Nissian':
print('You Picked Nissian \n')
else:
print('That's Not An Option')
program()
return
But I just do not understand how calling back a function from within a function can happen considering that the full function has not been defined yet? I appreciate the help if possible!