Nov-30-2018, 10:11 AM
(This post was last modified: Nov-30-2018, 10:11 AM by Gribouillis.)
Here is a case where you need something different
def explain_python_value(value): if value is False: print('This is the boolean constant meaning "false".') elif value is None: print('The None object is often used to indicate an absence of value.') elif value == []: print("It's the empty list!") else: print('I have not yet been taught what this object is...')