python add a string to a list

Solutions on MaxInterview for python add a string to a list by the best coders in the world

showing results for - "python add a string to a list"
Mohammed
11 Nov 2018
1list_of_Lists = [[1,2,3],['hello','world'],[True,False,None]]
2list_of_Lists.append([1,'hello',True])
3ouput = [[1, 2, 3], ['hello', 'world'], [True, False, None], [1, 'hello', True]]
Stefania
27 Jan 2016
1list = ["other str", 2, 56]
2list.append("string")
3# list = ["other str", 2, 56, "string"]
similar questions
queries leading to this page
python add a string to a list