MCQs > IT & Programming > Python > What's the difference between input() and raw_input() in Python 2.x?

Python MCQs

What's the difference between input() and raw_input() in Python 2.x?

Answer

Correct Answer: raw_input() reads input as a string, while input() evaluates input as Python code.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it