Exercise: Logical Operators

Run Settings
LanguagePython
Language Version
Run Command
is_magician = True is_expert = True #Check if magician AND expert: "you are a master magician" if is_expert and is_magician: print("you are a master magician") #Check if magician but not expert: "at least you're getting there" elif is_magician and not is_expert: print("at least you're getting there") #If you're not magician : "You need magic powers" elif not is_magician: print("You need magic powers")
Editor Settings
Theme
Key bindings
Full width
Lines