def f(s1): def g(n, s=s1): return s1 * n return g h = f('a') print([h(i) for i in (1,2,3)]) h = f('b') print([h(i) for i in (4,5,6)]) #output ['a', 'aa', 'aaa'] ['bbbb', 'bbbbb', 'bbbbbb']
14:57
« first day (692 days earlier) ← previous day next day → last day (2886 days later) »