python-CSD-kursu/python-temel/map.function.2.py

6 lines
70 B
Python
Raw Normal View History

2023-06-01 13:15:31 +00:00
import math
a = [1, 2, 3, 4, 5]
b = list(map(math.sqrt, a))
print(b)