Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = 'Machine Learning'
- print(s[2]) # c
- # Truy xuất phần tử cuối
- print(s[-1]) # g
- # Truy xuất phần tử kề cuối
- print(s[-2]) # n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement