[Tutor] string

Joel Goldstick joel.goldstick at gmail.com
Thu May 19 16:51:34 CEST 2011


On Thu, May 19, 2011 at 10:45 AM, naheed arafat <naheedcse at gmail.com> wrote:

> why there is two way to represent strings in python ? single-coated
> ( ' ' ) and double-coated ( " " ) strings both serve the purpose of string.
> Then what is the difference?
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
> This makes it easy to include quotes within strings without excaping them.
There are also """ strings for strings over multiple lines



-- 
Joel Goldstick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110519/5997f2c0/attachment.html>


More information about the Tutor mailing list