📅  最后修改于: 2022-03-11 14:47:10.291000             🧑  作者: Mango
# list and tuple can contain mixed datatypes, and nested in anyway
my_list = [3, "4", [11, "12"], ("a", 2), 5]
my_tuple = (3, "4", [11, "12"], ("a", 2), 5)
print(my_list)
# [3, '4', [11, '12'], ('a', 2), 5]
print(my_tuple)
# (3, '4', [11, '12'], ('a', 2), 5)