I have this
import random
a = random.randint(1,100)
b = random.randint(1,100)
c = random.randint(1,100)
d = random.randint(1,100)
e = random.randint(1,100)
print "The numbers are a:",a,"b:",b,"c:",c,"d:",d,"and e:",e
print "The numbers in ascending order:"
list1=[a,b,c,d,e]
list1.sort(key=int)
print a
print b
print c
print d
print e`
But I can't get it to understand that I want to print the new values and not the old ones for a-e
key=inthere, the numbers already are integers.key=intwould only make sense for mixed-type lists like["1", 2, "3"])