所以我有一个基本问题:如何在 easyGUI 中正确使用 if 和 else 语句?这就是我所拥有的:
import easygui
msg = "Oh i see m9, choos your difficulty"
title = "Mountain Dew Franchise"
choices = ["Pro 360 noscoper(+1001)", "Dank skrubl0rd(-666)"]
choice = easygui.ynbox(msg, title, choices)
#if choices==choices[0]:
easygui.msgbox("Good choos m20, let the skrubl0rd noscoping begin.")
#if choices==choices[1]:
easygui.msgbox("Oh i see m8.")
# 行似乎是问题区域
它不会让我去任何一个 msgbox,而是关闭程序,任何帮助将不胜感激。