【接口自动化测试】Python基础数据类型
# 变量赋值
print("_____________")
a = b = c = 1
print(a, b, c)
a, b, c = 1, 2, "test"
print(a, b, c)
# 解构赋值
print("_____________")
x, y = ["hello", "world"]
print(x)
print(y)
#list列表是可变的
print("_____________")
a = ["hello", "world"]
x, y =a
print(x)
print(id(x))
print(id(y))
print(a[0])
print(a[1])