输出结果
实现代码
# -*- coding: utf-8 -*-
'''
Created on 2018年3月11日
@author: niu
'''
import easygui as g
import sys
while 1:
g.msgbox("欢迎来到Jason niu工作室\n嗨,欢迎进入区块链发展知识论坛^_^")
msg ="请问你希望在Jason niu工作室学习到什么知识呢?"
title = "Decentralization&Internet"
choices = ["P2P下载", "P-CDN", "分布式计算", "社交媒体", "P2P借贷", "众筹", "区块链", "DAO","ICO","比特币"]
choice = g.choicebox(msg, title, choices)
g.msgbox("你的选择是: " + str(choice), "结果")
msg = "你希望重新开始选择学习模块吗?"
title = "请选择"
if g.ccbox(msg, title):
pass
else:
sys.exit(0)