mardi 25 août 2015

Having trouble in python 3.0 with this code

I've been having trouble with this little program, it skips over the if == "otc": part completely, I've tried stuff to fix it but I just can't get it to work.

print("Hello, what is your name?")

name = input()

if name == "OTC":

`print("get out otc!")

elif():

print("Hello! " + name

Aucun commentaire:

Enregistrer un commentaire