

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
import tkinter.simpledialog as tks
 
root = tkinter.Tk()
root.withdraw()
 
to_stack(tks.askinteger("Integer", "Enter a Number"))
string_to_stack(tks.askstring("String", "Enter a String"))
 
 \ python
 
swap echo cr echo$