loading
main.py
1
2
3
4
5
6
7
quote = "devpython"
print(quote[0]) # d
print(quote[-1]) # n
print(quote[0:3]) # dev
print(quote[-6:9]) # python
print(quote[:3]) # dev
print(quote[3:]) # python