+ 1
Why is the function not launching when user types in either pizza or taco?
def taco(): print("taco") def pizza(): print("pizza") choice= input("taco or pizza") if choice =="taco": taco() elif choice =="pizza": pizza() else: print("fail")
6 Respuestas
+ 2
What is your input/output?
0
I copied it but it still executes the fail.
0
actual python
0
how different is cpython and qpython I can't find an app for cpython
0
so why doesn't the same thing work on both
0
now it's just giving me an error after I copied your new edit it's supposed to be simple to make sure the functions are working it's becoming more complicated than it should be