import randomlotto_numbers = []while len(lotto_numbers) < 5: lotto_numbers.append(random.randint(1,50))print("今天的大乐透号码是:", lotto_numbers)
用python写一段大乐透抽奖的代码
最新推荐文章于 2024-01-28 17:03:14 发布
import randomlotto_numbers = []while len(lotto_numbers) < 5: lotto_numbers.append(random.randint(1,50))print("今天的大乐透号码是:", lotto_numbers)