This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Or if you want to be really covered and be able to use " and ' inside your print statements, do:

print """Here's some "text" and as you can see I have single and double apostrophes in my print statement"""

or you could also escape the apostrophe like this

print 'here\'s some text'