How to take User Input?


I want to take input from User for my program . I see the "raw_input " command for taking input is there anyone ?

Help Needed!!!


I’m assuming this is about Python. In that case, you would use the raw_input() function like this:

variable = raw_input("Input something here: ")

The prompt “input something here” will be printed to the console and wait for the user to type and hit return. If you wanted to record a users name, you would do it like so:

name = raw_input("What's your name? =>  ")