python simple input popup

Solutions on MaxInterview for python simple input popup by the best coders in the world

showing results for - "python simple input popup"
Martina
22 Oct 2016
1#pip install easygui
2import easygui
3Res1= easygui.enterbox(msg="Your name?")
4Res2= easygui.integerbox(msg="Enter price", upperbound=999)
5print(Res1, type(Res1), Res2, type(Res2)) 
6# Prints--> Bob <class 'str'> 150 <class 'int'>