easygui text adventure in python 3

Solutions on MaxInterview for easygui text adventure in python 3 by the best coders in the world

showing results for - "easygui text adventure in python 3"
Noah
09 Jun 2018
1import easygui
2
3choices = ['opt 1', 'opt2']
4answer = easygui.choicebox('text', 'title', choices=choices)
5if answer == 'opt 1':
6  easygui.msgbox('text', 'title', ok_button="ok button")
7elif answer == 'opt2':
8  choices = ['opt1', 'opt 2']
9  easygui.choicebox('text', 'title', choices=choices)
similar questions
queries leading to this page
easygui text adventure in python 3