mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 19:16:40 +07:00
GitOrigin-RevId: 4f2603447f760d959d31d5033944bae85ad68bf8
12 lines
164 B
Python
12 lines
164 B
Python
def foo(lst):
|
|
a = 1
|
|
res = map(lambda x: x + a + 1, lst)
|
|
return list(res)
|
|
|
|
|
|
a = 2
|
|
|
|
lst = [1, 2]
|
|
a1 = 1
|
|
res = map(lambda x: x + a1 + 1, lst)
|
|
x = list(res) |