Input without line break, is it possible?
breamoreboy at yahoo.co.uk
Wed Dec 4 17:36:53 CET 2013
On 04/12/2013 16:23, Michael Torrie wrote:
> 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.
That's it lad, you're in detention for one hour. You will write
repeatedly "I should be selling Python 3 instead of Python 2" :)
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
More information about the Python-list