Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lst = [1, 2, 3, 4, 5]
- print(f'Первый: {lst[0]}; последний: {lst[-1]}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement