commit message from python script

This commit is contained in:
2023-07-21 10:00:01 +02:00
parent 8ebd97cb08
commit b19224a29b
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
i = [2, 4, 6, 8 , 10 ]
# List comprehension
test = [x * 2 for x in i]
# lampda function
lam_test = list(map(lambda x: x * 3, i))
print(i)
print(test)
print(lam_test)