If I do the following in python,
string = raw_input('Enter the value')
it will return
Enter the value
and wait until I enter something into the prompt.
Is there a way to retrieve/collect the input I entered in a variable string?
I would like to use the entered value in the following way :
if dict.has_key('string'):
print dict[string]
Note: I previously made the error of using raw_string but I meant to say raw_input