breamoreboy at yahoo.co.uk
Mon Oct 20 22:47:36 CEST 2014
On 20/10/2014 21:23, Seymore4Head wrote:
> On Mon, 20 Oct 2014 13:58:46 -0600, Ian Kelly <ian.g.kelly at gmail.com>
>> On Mon, Oct 20, 2014 at 1:49 PM, Seymore4Head
>> <Seymore4Head at hotmail.invalid> wrote:
>>> For starters I would like to know if you can make a single item list
>>> and then turn it into a 2 item list. Is there a command for that?
>> You mean like this?
>>>>> the_list = ['first_item']
>> ['first_item', 'second_item']
> b=("Red", "Green", "Blue")
> d=(1,red,a 2,green,b 3,blue,c)
> Something like that.
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