Ch 13 string slicing
language="python"
Print(language [0:5]) # if u want to print all your word you can add 1 of your number
Like +===
Language="python"
Print(language [0:6]
# this can print all your python word but you can change replace with 5 this function type only o not n
This only start with 0 1 2 3 4
Comments
Post a Comment