I was told that there are four python string delimiters but I can only think of three, ', ", & """. What is that last one? I searched google but with no luck.

Recommended Answers

All 2 Replies

I was told that there are four python string delimiters but I can only think of three, ', ", & """. What is that last one? I searched google but with no luck.

  1. single quote '
  2. double quote "
  3. triple double quote """
  4. triple single quote '''

http://docs.python.org/release/1.5.1p1/tut/strings.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.