python if variable list code example Example: python if variable list isinstance([0, 10, 20, 30], list) # True isinstance(50, list) # False