Strings are widely used in python programming, and the usage is for both, very simple usecases while at the same time for complex problems. In this code example we will see some of the basic string operations like string concatenation, string repetition, looking for a substring in a string etc, which proves to be very useful.
Try the code with different string values. 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
What is Studytonight?
Made with by Abhishek Ahlawat
© 2019 Studytonight. All rights reserved.