[Tutor] Printing list in a Column

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Aug 31 03:28:49 CEST 2012


On 31/08/2012 02:12, Ashley Fowler wrote:
> Can anyone help me edit this code below to return the list in the form of a column instead of a row?
>
>
>
>
>
> def printList():
>      list1 = input("Insert a list")
>      list = [list1]
>      print (list)
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>

Use one of the two answers that you got roughly half an hour before you 
posted this?

-- 
Cheers.

Mark Lawrence.



More information about the Tutor mailing list