python
查看原帖
python
1363854
dqsfzhanghanyuan楼主2024/5/24 16:54

k=int(input()) s=1 i=1 while s<=k: s+=1/i i+=1 print(i)

2024/5/24 16:54
加载中...