def getfeiling(shus): try: for i in range(len(shus)): if int(shus[i]) > 0: return i+1 except: return 0
python 有效位数计算
最新推荐文章于 2024-05-16 17:06:34 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
def getfeiling(shus): try: for i in range(len(shus)): if int(shus[i]) > 0: return i+1 except: return 0