I'm wondering why my code is not calling/running the function:
TA = input('Would you like to throw again? (Y for yes and N for no) ')
if TA == ('Y') or ('y') is True:
classMain()
else:
print('Goodybye!')
This is what I'm using to call the function, and this is the function itself:
DI = input('\nHow many sides are on your dice? ')
def classMain():
global DI
DI
while DI.isdigit() is False:
DI = input('\nPlease enter a real number: ')
continue
break
So how can i Call the function (Function is before the first bit)?
The difference between the one you marked as a duplicate and mine, is that the function is not running which in this case is classMain().