map function 2

This commit is contained in:
Mert Gör 🇹🇷 2023-06-01 16:15:31 +03:00
parent 695b2fd6fc
commit 504df882f5
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9

View File

@ -0,0 +1,5 @@
import math
a = [1, 2, 3, 4, 5]
b = list(map(math.sqrt, a))
print(b)