【发布时间】:2016-04-30 21:54:43
【问题描述】:
我想知道如何将选择框的输入用于 if 循环。所有帮助表示赞赏! 例如:
title = 'Title'
msg = 'Message'
choices = ['Choice1', 'Choice2']
decided = choicebox(title, msg, choices)
if decided == 'Choice1':
print'Choice 1 is a choice that you have selected.'
【问题讨论】:
标签: python-2.7 if-statement easygui