dimensions = (200, 50)
print(dimensions)
dimensions = (200, 5000)
print(dimensions)
dimensions[0]=9 //报错
print(dimensions)
执行结果
dimensions = (200, 50)
print(dimensions)
dimensions = (200, 5000)
print(dimensions)
dimensions[0]=9 //报错
print(dimensions)
执行结果