vendredi 4 janvier 2019

If statement not wirking, python

 if number == 1:  
    print("One")  
    print("To exit type 'exit'.")

 exit = raw_input()    
    if exit == "exit":       
    print("Welcome back.")    

I am getting error on the if exit == "exit": line...

Aucun commentaire:

Enregistrer un commentaire