python trying to make a adventure game -


i'am trying make adventure game click on button (easygui.msgbox) , after click on 1 button go question on over clicked (by way im 13 years old)

there nice quick introduction here: http://www.blog.pythonlibrary.org/2010/05/22/a-quick-easygui-tutorial/ ; longer tutorial @ http://www.ferg.org/easygui/tutorial.html

briefly,

import easygui easygui.msgbox("i going ask question...") animal = easygui.buttonbox("what favorite animal?", choices=['tiger', 'giraffe', 'llama']) easygui.msgbox("you chose {}".format(animal)) 

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -