国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

備忘3

2021-10-29 07:43 作者:Power_Tea  | 我要投稿

#! /usr/bin/python3

def s_seq():

? ? red_balls = []

? ? blue_balls = []

? ? li = [[6, 33, "紅球", red_balls], [1, 16, "籃球", blue_balls]]

? ? for item in li:

? ? ? ? print(f"開始輸入{item[2]}".center(75, '-'))

? ? ? ? count = 0

? ? ? ? while count < item[0]:

? ? ? ? ? ? choice = input(f"輸入第{count + 1}個{item[2]}>>:").strip()

? ? ? ? ? ? if not choice.isdigit():

? ? ? ? ? ? ? ? print("輸入不正確,請重新輸入?。?!")

? ? ? ? ? ? ? ? continue

? ? ? ? ? ? choice = int(choice)

? ? ? ? ? ? if 0 < choice <= item[1] and choice not in item[3]:

? ? ? ? ? ? ? ? item[3].append(choice)

? ? ? ? ? ? ? ? count += 1

? ? print("$"*80)

? ? print(f"\t下一個 雙色球 超級富豪即將購買 紅球--{red_balls},籃球--{blue_balls}")

? ? print("成事在人富貴在天,勸君量力而行,祝君好運?。?!")

? ? print("$" * 80)



def d_let():

? ? red_balls = []

? ? blue_balls = []

? ? li = [[5, 35, "紅球", red_balls], [2, 12, "籃球", blue_balls]]

? ? for item in li:

? ? ? ? print(f"開始輸入{item[2]}".center(75, '-'))

? ? ? ? count = 0

? ? ? ? while count < item[0]:

? ? ? ? ? ? choice = input(f"輸入第{count + 1}個{item[2]}>>:").strip()

? ? ? ? ? ? if not choice.isdigit():

? ? ? ? ? ? ? ? print("輸入不正確,請重新輸入?。?!")

? ? ? ? ? ? ? ? continue

? ? ? ? ? ? choice = int(choice)

? ? ? ? ? ? if 0 < choice <= item[1] and choice not in item[3]:

? ? ? ? ? ? ? ? item[3].append(choice)

? ? ? ? ? ? ? ? count += 1

? ? print("$"*80)

? ? print(f"\t下一個 大樂透 超級富豪的將購買 紅球--{red_balls},籃球--{blue_balls}")

? ? print("成事在人富貴在天,勸君量力而行,祝君好運!??!")

? ? print("$" * 80)



while True:

? ? print("*" * 80)

? ? print("")

? ? print("\t\t\t歡迎使用 【富豪誕生系統(tǒng)】 V 1.0")

? ? print("")

? ? print('\tUP主云:"命里有時終須有,命里無時莫強求,純屬娛樂莫當真哈哈。。。。。"')

? ? print("")

? ? print("")

? ? print("\t\t\t\t選擇? [1]? 通過雙色球誕生")

? ? print("")

? ? print("\t\t\t\t選擇? [2]? 通過大樂透誕生")

? ? print("")

? ? print("\t\t\t\t選擇? [0]? 放棄暴富機會")

? ? print("")

? ? print("*" * 80)

? ? action_str = input("\t\t\t請選擇怎樣誕生:")

? ? print("\t\t\t您選擇的操作是 【%s】" % action_str)

? ? if action_str in ["1", "2"]:

? ? ? ? if action_str == "1":

? ? ? ? ? ? s_seq()

? ? ? ? elif action_str == "2":

? ? ? ? ? ? d_let()


? ? elif action_str == "0":


? ? ? ? print("\t\t\t歡迎再次使用【雙色球自選系統(tǒng)】")

? ? ? ? break


? ? else:

? ? ? ? print("\t\t\t您輸入的不正確請重新輸入!")


備忘3的評論 (共 條)

分享到微博請遵守國家法律
望谟县| 高唐县| 赤水市| 洞头县| 桂东县| 襄城县| 汝阳县| 红桥区| 泰和县| 余干县| 桐乡市| 公主岭市| 泽州县| 东城区| 昌江| 松原市| 广灵县| 黄龙县| 保靖县| 吉水县| 合江县| 丰城市| 德阳市| 安达市| 轮台县| 喜德县| 龙江县| 南华县| 慈溪市| 陇西县| 徐水县| 灵山县| 容城县| 冀州市| 万宁市| 嵊泗县| 华坪县| 保德县| 蓬莱市| 梁河县| 沧州市|