Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

slicing string in python

b = "Hello, World!"
print(b[2:5])

#it will print llo
 
PREVIOUS NEXT
Tagged: #slicing #string #python
ADD COMMENT
Topic
Name
9+3 =