自编留档
"""习题9-14"""
from random import randint, choice
bingo_number = ['1', '50', '6', 'ca', 'sb']
award_number = ['1', '6']
for i in range(1, 11):
chosen_number = choice(bingo_number)
if chosen_number in award_number:
print(f"您中奖了!中奖号码为:{chosen_number}")
else:
print(f"很遗憾,您的号码:{chosen_number},未中奖,再接再厉!")