Try this:
print("Please choose the combination you like:") print("milk", "", "sugar", "", "tea", "", "coffee") print("Choose the first one:") first = input() print("Choose the second one:") second = input() if first.upper()[0] == 'M' and second.upper()[0] == 'S': print("????????????") elif first.upper()[0] == 'M' and second.upper()[0] == 'T': print("typical") elif first.upper()[0] == 'S' and second.upper()[0] == 'T': print("okay") elif first.upper()[0] == 'S' and second.upper()[0] == 'C': print("wake up") else: print("Is there any other combination?")I used a command .upper which converts the input to all caps. Then I used [0] which means that the input is now only the first letter and it's a capital letter. So if the user said coffee, python would read that as C. You could also use the 'or' command if you want.
elif first.upper()[0] == 'S' or 'T' and second.upper()[0] == 'T' or 'S': print("okay")Like that. I hope this helps you, I know it helped me explaining this. I'm not that great of a programmer either but I'm learning!