mercredi 26 avril 2017

A = raw_input("5 + 5 =") if A == 10: print "$" elif A <> 10: print "!" when i put 10 then im also getting "!" why? [duplicate]

This question already has an answer here:

A = raw_input("5 + 5 =")

if A == 10:
    print "$"
elif A <> 10:
    print "!"

when I put 10 I also get "!" why?

Aucun commentaire:

Enregistrer un commentaire