samedi 2 avril 2016

Python, If/Elif/else statement

i've been working on this program, and keep getting a syntax error stating, "EOL while scanning string literal", can anyone help me see what my problem is so i can continue to work on this program please?

def main():
num1 = int(input('Enter any numbers greater than 2:'))
num2 = int(input('Enter any number less than num1:'))
if num2 > num1:
print("Bad_Input.Try_Again")
elif num1 % num2 ==0:
if quotient == num1/num2:
print('The quotient is,',quotient.')
main()

Aucun commentaire:

Enregistrer un commentaire