What is difference between raw_input and input in python?
Answer / Neerak Kumar Meena
In Python, raw_input() returns the user's input as a string by default, while input() accepts input from the user, converts it to a string if no data conversion is specified, and can convert the input to other types (like integer or float) using type casting functions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Are Tuples immutable?
How to get all keys from dictionary ?
What is raise keyword do in python exception handling?
What is difference between yield and return?
Which is better java or python?
How to check whether a module is installed in python?
Is python is a case sensitive?
What applications use python?
Please explain when is the python decorator used?
How do you use super in python?
Name some of the important modules that are available in python.
How will you print the contents of a file?