#!/usr/bin/env python
# -*- coding:utf-8 -*-
#Author: ss
import easygui
import sys
while 1:
easygui.msgbox('开始第一个小游戏','开始游戏')
msg = '请问你想看什么类型的电影?'
title = '选择兴趣爱好'
choices = ['动作片','喜剧片','科幻片','爱情片','剧情片','其他片']
choice = easygui.choicebox(msg,title,choices)
easygui.msgbox("你的选择是:"+str(choice),'选择结果')
msg = '你要重新开始游戏吗?'
title = '请选择'
choices1 = ['重新开始','退出']
if easygui.ccbox(msg,title,choices1):
pass
else:
sys.exit(0)