flour = True sugar = True eggs = True butter = False if flour == True and sugar == True and eggs == True and butter == True: print("You can bake a cake") elif (flour == True) and (sugar == True) and (eggs == True) and (butter == False): print("You can bake a pancake") elif flour == True or sugar == True or eggs == True or butter == True: print("You can bake something") elif not flour == True and not sugar == True and not eggs == True and not butter == True: print("You can't bake anything") else: print("Go to the supermarket")