syntax if not condition python code example Example: python if not true a = False if not a: #Does this a = True if not a: #Doesn't do this