round numbers in an array without importing Numeric or Math?

Lance Hoffmeyer lance at
Tue May 16 20:17:45 CEST 2006

Is there an easy way to round numbers in an array?

I have
Test = [1.1,2.2,3.7]

and want to round so the values are

print Test  [1,2,4]


More information about the Python-list mailing list