在第七讲课后题中彩色球问题!
import randomlist_num =
# print(list_num)
blue_list =
print("开奖结果:",random.sample(list_num,6))
print("特别号码:",random.sample(blue_list,1))
输出结果带列表括号,怎么去掉 import random
list_num =
# print(list_num)
blue_list =
print("开奖结果:",end=" ")
print()
print("特别号码:",random.sample(blue_list,1)) 临时号 发表于 2022-10-23 15:22
感谢师傅
页:
[1]