Hello, I am a total beginner so can you help me please?
Output:
please choose the combination you like
milk sugar tea coffee
chose the first one:
cqf
choose the second one:
faef
????????????
Process finished with exit code 0
x="milk","Milk" y="sugar","Sugar" z="tea","Tea" t="Coffee","Coffee" print("please choose the combination you like") print("milk", "", "sugar", "", "tea", "", "coffee") print("chose the first one:") input() print("choose the second one:") input() if x and z: print("????????????") elif x and t: print("typical") elif y and z: print("okay") elif y and t: print("wake up") else: print("is there any other comb?")i've made this code just to learn how "if" functions in python but the code just always sets the first boolean as true (even if you put whatever outputs) can you please help me? thank you
Output:
please choose the combination you like
milk sugar tea coffee
chose the first one:
cqf
choose the second one:
faef
????????????
Process finished with exit code 0