import random
import time
print ' Welcome to the lottery number generator'
num_1 = random.randrange(53)+1 #Random numbers
num_2 = random.randrange(53)+1 #Random numbers
num_3 = random.randrange(53)+1 #Random numbers
num_4 = random.randrange(53)+1 #Random numbers
num_5 = random.randrange(53)+1 #Random numbers
Bonus = random.randrange(42)+1 #Bonus ball random numbers
print 'Here are the numbers that have been drawn'
time.sleep(1)
print 'Your first ball'
time.sleep(1)
print num_1
time.sleep(1)
print 'Your second ball'
time.sleep(1)
print num_2
time.sleep(1)
print 'Your third ball'
time.sleep(1)
print num_3
time.sleep(1)
print 'Your fourth ball'
time.sleep(1)
print num_4
time.sleep(1)
print 'Your fifth ball'
time.sleep(1)
print num_5
time.sleep(1)
print 'The bonus ball'
time.sleep(1)
print Bonus
请有人告诉我如何将随机数按数字顺序排列????代码有效,我只需要将它们按数字顺序排列。将有 5 个球需要按数字顺序排列,奖金球需要单独显示。