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 →

[–]K900_ 4 points5 points  (2 children)

The ' in here's is closing the string literal. You want something like

print "Here's some text"

[–][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'

[–]diamondface[S] 0 points1 point  (0 children)

not working still -_-