这是一个代码示例:
importrandom
import time
seats = ['A1', 'A2', 'A3', 'A4', 'A5']
def lottery():
print('Start drawing...')
while True:
chosen_seat = random.choice(seats)
print('The winner is:', chosen_seat)
time.sleep(0.5)
stop = input('Press enter to