str='python is easy'
print(str)
print(str[0])
print(str[3:9])
print(str[4:])
print(str[-1])
print(str[:5])
print(str*2)
print(str+"isn't it?")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: