小编Cas*_*son的帖子

打开图片?蟒蛇

我正在创建一个基于文本的labryinth游戏,但我认为它需要一些图片来说明最新情况.出于某种原因,当我尝试去a2时(图片应该弹出),它就会死掉.我是初学者,所以不要太多地判断我的代码^^

import Image
a1 = ("a1 Go to the start of the Labyrinth", "You're at the start of the labyrinth") #Start
a2 = ("a2 Go Left", "You've chosen to go left, unfortunatly it leads to nothing.") #Fail route
a3 = ("a3 Go Right", "You've chosen to go right.") #Right route
a4 = ("a4 Go Left", "You've chosen to go left") #Fail route
a5 = ("a5 Go Right", "You've chosen to go right") #Right route
a6 = ("a6 Go Right", "You've …
Run Code Online (Sandbox Code Playgroud)

python image python-2.7

7
推荐指数
2
解决办法
10万
查看次数

标签 统计

image ×1

python ×1

python-2.7 ×1