凑不齐一整排会怎样
运行下面这段程序,填写它打印出来的结果。
for n in (32, 30):
lanes = 4
full = n // lanes
left = n - full * lanes
print(str(full) + "-" + str(left), end="/")
运行下面这段程序,填写它打印出来的结果。
for n in (32, 30):
lanes = 4
full = n // lanes
left = n - full * lanes
print(str(full) + "-" + str(left), end="/")
全部评论