answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do you get input from the user in python?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the meaning of print and input in idle python?

"print" will output a value onto the screen for a user to see. "input" or "raw_input" gets a user's input.


Write a line of code that asks the python user to input an integer greater than 0 and store this value in a variable and display its value?

integer = input("Please input an integer greater than 0: ") print(integer)


How input and output is achived in python programming?

in python 3 basic input and output are achieved withstring = input("prompt>")andprint("something")In python 2 you havestring = raw_input("prompt>")andprint "something"


What is the purpose of print strings in python?

It means that python will print(or write out) a value you input.


How do you get input in python?

I get in put with input() function like this: x = input("what do you want to ask")


Why validate user input?

To insure that the users input is valid.


What is stimuli in computer science?

it is an input from a user from the real world(a real world input) that is input from either sensors or user input data to a real time application or any other type of applications.


Does input include user responses?

yes it does.


Why are storage devices are output and input?

the input device get input from user.. output device display the result....


What is the definition for an input and output machine?

An input device is a device which is used by the user to enter data into the computer system. An output device is a device which is used by the computer to send data back to the user in a way that the user can understand. It is possible for a device to be both an input and output device simultaneously. For example a force-feedback joystick takes input from the user, but also communicates to the user with a series of vibrations or force-actions.


Is a graphics tablet an input or output?

A graphics tablet is used to to accept user input to the computer so is classed as input device ...


How do you get the input from the user?

Input from the user to the computer can come through many peripheral devices such as the keyboard, mouse, touch-screen, a modem or a web camera.