Even shorter ...
def toNums2(lst):
return map(int, lst)
vegaseat
DaniWeb's Hypocrite
6,475 posts since Oct 2004
Reputation Points: 1,447
Solved Threads: 1,611
Skill Endorsements: 36
Question Answered as of 4 Months Ago by
vegaseat,
snippsat
and
hildisvini