name_list = ["zhangsan", "lisi", "wangwu"]
print(name_list)
for name in name_list:
print(name)
info_tuple = ("a", )
print(info_tuple)
info = ("小张", 18)
print("%s的年龄是%d" % info)
info1 = list(info)
print(info1)
info2 = tuple(info1)
print(info2)
2024-02-25 15:09:21
name_list = ["zhangsan", "lisi", "wangwu"]
print(name_list)
for name in name_list:
print(name)
info_tuple = ("a", )
print(info_tuple)
info = ("小张", 18)
print("%s的年龄是%d" % info)
info1 = list(info)
print(info1)
info2 = tuple(info1)
print(info2)