<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Joining with newline works perfectly. <br><br>Thanks everyone!<br><div>&nbsp;</div>_______________________<br>Samuel Huckins<br><br><div>Homepage - http://samuelhuckins.com<br>Tech blog - http://dancingpenguinsoflight.com/<br>Photos - http://www.flickr.com/photos/samuelhuckins/<br>AIM - samushack | Gtalk - samushack | Skype - shuckins<div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Alan Gauld &lt;alan.gauld@btinternet.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> tutor@python.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 7, 2009 3:58:18
 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Tutor] Getting multi-line input from user<br></font><br>
<br>"Andre Engels" &lt;<a ymailto="mailto:andreengels@gmail.com" href="mailto:andreengels@gmail.com">andreengels@gmail.com</a>&gt; wrote <br>&gt; The newline character is written \n in Python, so if you replace<br>&gt; <br>&gt; ' '.join(user_input)<br>&gt; <br>&gt; by<br>&gt; <br>&gt; '\n'.join(user_input)<br><br>Yep, that's better than my suggestion of adding the \n at append time. :-)<br><br>Alan G.<br><br>_______________________________________________<br>Tutor maillist&nbsp; -&nbsp; <a ymailto="mailto:Tutor@python.org" href="mailto:Tutor@python.org">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br></div></div></div></div></body></html>