Width split:30-34-38-42-46 SB to main split:90-100-110-120-130 SB to SB split:90-100-110-120-130写一个for循环
时间: 2023-05-18 16:03:56 浏览: 219
可以这样写:
for i in range(5):
width = 30 + i * 4
sb_to_main = 90 + i * 10
sb_to_sb = 90 + i * 10
print("Width split:{} SB to main split:{} SB to SB split:{}".format(width, sb_to_main, sb_to_sb))
阅读全文