Answers for "python simple input popup"

0

python simple input popup

#pip install easygui
import easygui
Res1= easygui.enterbox(msg="Your name?")
Res2= easygui.integerbox(msg="Enter price", upperbound=999)
print(Res1, type(Res1), Res2, type(Res2)) 
# Prints--> Bob <class 'str'> 150 <class 'int'>
Posted by: Guest on August-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language