Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x1 = [5,4,3]
- x2 = [7,6,5]
- sort_both = lambda: [x1.sort(), x2.sort()]
- sort_both() # now x1=[3, 4, 5] and x2=[5, 6, 7]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement