Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. def GetTypes(object_type):
  2. if object_type is list or tuple and not str:
  3. for types in object_type:
  4. print(type(types))
  5. else:
  6. print(type(object_type))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement