2. We also need to look at the escape characters in Python language: single quotation marks are urgently needed, and double quotation marks are needed. 3. Then let's look at the index meaning of the string. 4. We edit the code function on the right. 5. Then, search the substring or interval of the string in the slice of the string, which is called slice. The usage is as follows. 6. The next step is the basic usage of the format method. Let's look at the basic usage format first. 7. Edit the function formula in the editor on the right. The above is about "What is python string type and format? Python string types and formatting explanations ",I hope it will help your Python learning! Many friends ask: How to learn Python? In fact, Python proficiency requires phased learning. You can learn Python zero-based function -Python programming skills -Python core principle analysis step by step! So, if you want to learn Python, but you can't start, then come to Yutu and click the link: