python-CSD-kursu/python-temel/map.function.2.py
2023-06-01 16:15:31 +03:00

5 lines
70 B
Python

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