# = assigns a value; == checks whether two values match
favorite_spell = "Expelliarmus"   # assignment

if favorite_spell == "Expelliarmus":   # equality check
    print("Disarming charm ready!")
else:
    print("Different spell selected.")

# in checks whether something is inside a list
spells_known = ["Lumos", "Nox", "Accio"]
if "Accio" in spells_known:
    print("You know how to summon objects!")
