Re: [Tutor] Printing list in a Column

2012-08-31 Thread Alan Gauld
On 31/08/12 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) First you need to convert the string that your user types into

Re: [Tutor] Printing list in a Column

2012-08-30 Thread Mark Lawrence
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

[Tutor] Printing list in a Column

2012-08-30 Thread Ashley Fowler
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@python.org To unsubscribe or ch