Strings: If you want to enter text in python, you have to use a string. A string is created by entering text between two single or double quotation marks ("Text" or 'Text'). Some characters can't be directly included in a string. Say for example the double and single quotes can not be directly included in a double or single quote string. This will end the code prematurely and can cause error. You can enter these kind of symbols by using { \ } before them. Other common characters that must be escaped are newlines and backslashes. Double quote only need to be escaped in double quote and is true for single quote as well. Note : Backslash can also be used to escape tabs, arbitrary unicode characters, and various other things that can't be reliably printed. These characters are called as escape characters. Newlines: We can create a newline or escape a newline in python using {\n} in place from where you want to start the new line. But python provides an easy w...
Here I have created a series of blogs on python programming, which covers the topic from very basic to advanced level. Anyone can follow these and can learn the python programming from it.I have also added problems based on whatever you learn here so that the learner can expand there thinking on python problem solving as well.