Python 代码实现纸张对折次数计算 - 达到珠穆朗玛峰高度
height = 0.5
fold_times = 0
while height < 8844430:
height *= 2
fold_times += 1
print('对折次数:', fold_times)
原文地址: https://www.cveoy.top/t/topic/fwu2 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
height = 0.5
fold_times = 0
while height < 8844430:
height *= 2
fold_times += 1
print('对折次数:', fold_times)
原文地址: https://www.cveoy.top/t/topic/fwu2 著作权归作者所有。请勿转载和采集!