五月吧论坛
http://www.wuyue8.com/bbs
python
def ant_path(distance):
steps = 0
while distance > 0:
steps += 1
distance -= 5 # 假设小蚂蚁每次爬 5 厘米
return steps
distance = int(input("5:"))
print(f"10")
?