그래서 기본적인 질문이 있습니다 : easyGUI에서 if 및 else 문을 올바르게 사용하는 방법은 무엇입니까? 이 내가 무엇을 가지고 :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로 이동하지 않는 문제 영역
을 것 같다,하지만 대신 프로그램을 닫습니다, 어떤 도움을 주시면 감사하겠습니다.
서술문은 다른 어떤 작동하지 않는 경우. 당신이 걱정해야 할 가치가 있습니다. – Lack