Input without line break, is it possible?

Michael Torrie torriem at gmail.com
Wed Dec 4 17:23:00 CET 2013


On 12/04/2013 08:38 AM, geezle86 at gmail.com wrote:
> my question, can i make it in just a single line like,
> 
> 1 2 3 4 5 6 (and so forth)
> 
> Can I?

Yes of course.  raw_input() is going to give you a string that you can
then parse any way you want.



More information about the Python-list mailing list