换一张表,同一个地址翻到别处
运行下面这段程序,填写它打印出来的结果。
PAGE = 16
TABLES = {"甲": {0: 3}, "乙": {0: 7}}
current = "甲"
a = TABLES[current][0] * PAGE + 5
current = "乙"
b = TABLES[current][0] * PAGE + 5
print(str(a) + "/" + str(b))
运行下面这段程序,填写它打印出来的结果。
PAGE = 16
TABLES = {"甲": {0: 3}, "乙": {0: 7}}
current = "甲"
a = TABLES[current][0] * PAGE + 5
current = "乙"
b = TABLES[current][0] * PAGE + 5
print(str(a) + "/" + str(b))
全部评论