Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def func(list):
- lists = []
- for item in list:
- print(item)
- lists.append([item])
- return lists[0], lists[1], lists[2], lists[3]
- print(func([1, 4.5, True, 'word']))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement