PROGRAMMING
GAME DEVELOPMENT
Slicing is yet another string operation. Slicing lets you extract a part of any string based on a start index and an end index.
Click the button, to Run the code again.
CODE SNIPPETS
;
to join two Executable Statements/
to break code into multiline codelen()
, find()
, replace()
& split()
zip
function to iterate over two Listsdel
, remove()
or pop()
insert()
, reverse()
& sort()
What is Studytonight?
Tutorials
Learn to Code
Interview Questions
/code/python/python-string-slicing.php