Answers for "python round and map function"

0

python round and map function

my_list = [2.6743,3.63526,4.2325,5.9687967,6.3265,7.6988,8.232,9.6907]
updated_list = map(round, my_list)
print(updated_list)
print(list(updated_list))
Posted by: Guest on August-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language