0
What is the name of place where we input data
After processing it shows answer
3 Antworten
+ 3
You call it a console or sometimes a terminal where you give your input and get your output.
+ 2
it depends...
on sololearn for python as for all languages except web, input should be entered at once, each on separate line... in a "dialog box" wich pop-up after you press the 'run' button (just before sending code and captured input to server).
however, if you run your script locally, you run it in a "console" or "terminal" (unless you program a gui interface in wich case you use it -- and specifically "input field widget" usually at least for text input) and you give input in real time...
0
number = input("Enter number ") name = input("Enter name ") print("\n") print("Printing type of a input value") print("type of number", type(number)) print("type of name", type(name))