📜  如何在python代码示例中将列表添加到列表中

📅  最后修改于: 2022-03-11 14:46:04.540000             🧑  作者: Mango

代码示例1
fruits = ["watermelon","banana","Cherry","pineapple","oranges"]
vegitable = ["Tomato","potato","torry","bottle goud","bittre gourd"]
#adding fruits and vegitable in a list called dirty_dozen
dirty_dozen = [fruits, vegitable]
print(dirty_dozen)