JSRUN
import time def sum(): sz = 0 for i in range(1, 11): sz += i return sz zhoh = sum() print(f"1-10的总和为 : {zhoh}")
使用此草稿 删除草稿