hairColor == "blond" or "brown" or "red" or "black"
Category | Operators |
---|---|
addition | +,- |
exponent | ** |
logical | and |
logical | or |
logical | not |
multiplication | *,/,//,% |
relational | ==,!=,<=,>=,>,< |
if fellowScouter == True: shakeWithLeftHand() else: shakeWithRightHand()
if name == "Honey": print("Love ya!") else: print("See ya")