📜  python代码示例中的数组和列表

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

代码示例1
# creating a list containing elements 
# belonging to different data types
sample_list = [1,"Yash",['a','e']]
print(sample_list)


# creating an array containing same 
# data type elements 
sample_array = [1,2,3,4,5,6]
print(sample_array)