MCQs > IT & Programming > Python > The following lines do the same work. What is the difference between them? lines = string.split(text, '\n') and lines = text.split('\n')

Python MCQs

The following lines do the same work. What is the difference between them? lines = string.split(text, '\n') and lines = text.split('\n')

Answer

Correct Answer: No import is required by the second line.

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

More Python MCQ Questions

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it