You should be using double quotes on this line and you are missing the last quote:<div><br></div><div><span style>print 'You're not Chris!</span> </div><div><br></div><div>Should be:</div><div><br></div><div><span style>print "You're not Chris!"</span></div>
<div><br><br><div class="gmail_quote">On Wed, Jan 11, 2012 at 8:17 AM, col speed <span dir="ltr"><<a href="mailto:ajarncolin@gmail.com">ajarncolin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11 January 2012 20:11, Max S. <<a href="mailto:maxskywalker1@gmail.com">maxskywalker1@gmail.com</a>> wrote:<br>
> I believe that line 3 raises an error. The because you contained the text<br>
> in single quotes, and then used the same character in 'you're not chris',<br>
> Python believes that you are trying to type "you" re not chris". You can<br>
> change the single quotes surrounding your string to double quotes ("you're<br>
> not chris"), triple-single quotes ('''you're not chris'''), or triple-double<br>
> quotes ("""you're not chris"""), or you can tell Python that you want to<br>
> include the apostrophe in your string by preceding it with a \ ('you\'re not<br>
> chris'). The latter works on the same idea as \n and \t.<br>
><br>
How didn't I see that?<br>
It just goes to show a gooddun from a baddun.<br>
Cheers<br>
Col<br>
_______________________________________________<br>
Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</blockquote></div><br></div>