type.py 77 B

123
  1. mylist = [1, 2, 3]
  2. if str(type(mylist)) == "<class 'list'>":
  3. print('OK')