Python provides a lot of pre-defined string functions to carry out simple operations on a string like finding the length of the string, or checking whether a substring is present in a string or not, or replace a part of the string, or to split a string, all this can easily be done using string functions.
Click the button, to Run the code again.
;to join two Executable Statements
/to break code into multiline code
zipfunction to iterate over two Lists