Task

Show how to represent the boolean states "true" and "false" in a language.

If other objects represent "true" or "false" in conditionals, note it.



Related tasks

   Logical operations


 
def example(input :boolean):
    if input:
        return "Input was true!"
    return "Input was false."
 