MCQs > IT & Programming > Python > Which statement is/are correct about range() and xrange()?

Python MCQs

Which of the following statements is/are correct about range() and xrange()?

Answer

Correct Answer: range() returns a list, while xrange() returns an xrange object.

Explanation:

Note: This question has more than 1 correct answers

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