python round and map function

Solutions on MaxInterview for python round and map function by the best coders in the world

showing results for - "python round and map function"
Hendrik
26 Sep 2016
1my_list = [2.6743,3.63526,4.2325,5.9687967,6.3265,7.6988,8.232,9.6907]
2updated_list = map(round, my_list)
3print(updated_list)
4print(list(updated_list))
5
similar questions
queries leading to this page
python round and map function