"Jorge Godoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Edward Elliott wrote:
>
>
> You can use either """ or '''. I don't keep changing them in my code, so
> I
> can always use the other type (usually I use " so for commenting things
> out
> I'd use ') to do that.
>
Try that on this code:
a=3
a=a*a
b='''This is a
very long
long
text'''
print a
like:
a=3
'''
a=a*a
b='''This is a
very long
long
text'''
'''
print a
raises SyntaxError
--
http://mail.python.org/mailman/listinfo/python-list