Answers for "round list of floats python"

0

round list of floats python

myList = [round(x) for x in myList]

myList # [25, 193, 282, 88, 80, 450, 306, 282, 88, 676, 986, 306, 282]
Posted by: Guest on May-02-2020

Python Answers by Framework

Browse Popular Code Answers by Language