a= [6248.570994, 5282.059503, 5165.000653, 5130.795058, 5099.376451]
one way:
a=map(int, a)
the other way:
int_a=[]
for intt in a:
int_a.append(int(intt))
above ways can print right answer,but when I want sorted I met problem:
maxx=sorted(int_a,reverse=True)[:1]*1.2
print maxx
TypeError: can't multiply sequence by non-int of type 'float'
[6248, 5282, 5165, 5130, 5099]