mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
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) |