jeudi 27 août 2020

If statement is not working in python in python 3.6

    a = input('10+1: ')
if a == 11:
    print("correct")
else:
    print('wrong')

The code above is not working in my program.

Its giving me an output of something like this:

10+1: 11
wrong

Process finished with exit code 0

Aucun commentaire:

Enregistrer un commentaire