📜  python add 1 to 100 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:29.619000             🧑  作者: Mango

代码示例1
def f(n):
    return sum(range(1,n+1))