Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def func_slice(num):
- s= (num[0], num[-1])
- print s
- func_slice([1, 2, 3, 4, 5])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement