#slicing / selecting sub sequences
#to print more that one characters we use string slicing
lang = "python"
# print(lang[4])

#styntax -[start argument : stop argument-1]
#py
print(lang[3:6])
# to print full string
print(lang[:])
#to print from start index
print(lang[3:]) 

#to print from stop index
print(lang[:3]) 
