

In this task, the goal is to input a string and the integer 75000, from graphical user interface.



See also: User input/Text

import Tkinter,tkSimpleDialog
 
root = Tkinter.Tk()
root.withdraw()
 
number = tkSimpleDialog.askinteger("Integer", "Enter a Number")
string = tkSimpleDialog.askstring("String", "Enter a String")
 