双色球小程序
print函数不换行的方式
format格式化输出
continue的使用
print("欢迎购买双色球!")
list_red = []
list_blue = []
count_red = 0 # red_ball should be smaller than 7
count_blue = 0 # blue_ball should be smaller than 3
# To choose red balls
while count_red < 6:
red_ball = int(input("Please choose a red ball whose number is smaller than 33 and is bigger than 0.The ball is "