Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list2 = [list1[0], list1[1]]
- list2 = list1[:2]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement