The escape character allows you to use double quotes when you normally would not be allowed: txt ="We are the so-called \"Vikings\" from the north." Try it Yourself » Escape Characters Other escape characters
Related Pages Python Strings Tutorial String Literals Assigning a String to a Variable Multiline Strings Strings are Arrays Slicing a String Negative Indexing on a String String Length Format String Escape Characters ❮ Python Glossary Track your progress - it's free! Log in Sign Up ...