什么是用GUI编程的编程语言.我知道有一种方法可以在Windows中使用C进行GUI,但我想用Linux编程并使我的程序与其他操作系统兼容.有什么建议?
在我的python程序中,有时在我的if语句中只有顶部的一个有效
这是我的程序 http://ubuntuone.com/0u2NxROueIm9oLW9uQVXra
当你运行程序,如果你去东北西南,然后它不起作用问题是在函数room4():
def room4():
"""Forest go south to small town room 1 and east to forest path room8"""
room = 4
print "Forest you can go south to small town, east to forest path, or continue to explore the forest"
cmd = raw_input('> ')
cmd = cmd.lower()
if cmd == "e" or cmd == "east" or "go east":
print room8()
if cmd == "s" or cmd == "south" or "go south":
print room1()
if cmd == "forest" or …Run Code Online (Sandbox Code Playgroud)