Get your own Python server Result Size: 625 x 565
x
 
x = [9, 12, 7, 4, 11]
# Add element:
x.append(8)
# Sort list ascending:
x.sort()
print(x)
[4, 7, 8, 9, 11, 12]