【Python】俄罗斯农夫算法

相关介绍百度 直接上代码: 方法1:pandas法 import pandas as pd def half_double(n1, n2): halving = [n1] doubling = [n2] while min(halving) > 1: halving.append(math.floo
posted @ 2022-06-26 10:32  HuaBro  阅读(118)  评论(0编辑  收藏  举报