The input ( ) function helps to enter data at run time by the user and returns it as a string. This function prompts the user for an input from the keyboard. The output function print ( ) is used to ...
**The default datatype of whatever you input using the input function will be a string. Here’s how you How to ask the user a question in Python. But, how will you get to know that python is asking you ...
For an application, I need to allow the user to interactively correct the value of a string, eg: current_string = "something" corrected_string = raw_input("Enter new value for %s> " % current_string) ...