📜  for i in range without i - Python 代码示例

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

代码示例1
def loop(f,n):
    for i in xrange(n): f()

loop(lambda: , 5)