►
Run
myList = [24, 0, 8, 6] result = isinstance(myList, (list, tuple, range)) print(f'Is given object an instance of type list? {result}.')
Output