how to add lists to lists in python

Solutions on MaxInterview for how to add lists to lists in python by the best coders in the world

showing results for - "how to add lists to lists in python"
Victoria
31 Nov 2016
1fruits = ["watermelon","banana","Cherry","pineapple","oranges"]
2vegitable = ["Tomato","potato","torry","bottle goud","bittre gourd"]
3#adding fruits and vegitable in a list called dirty_dozen
4dirty_dozen = [fruits, vegitable]
5print(dirty_dozen)
6