Python Developer Question:

Tell me what is the difference between Xrange and range?

Tweet Share WhatsApp

Answer:

Xrange returns the xrange object while range returns the list, and uses the same memory and no matter what the range size is.

Download Python Developer PDF Read All 77 Python Developer Questions
Previous QuestionNext Question
Tell me what is Flask & its benefits?Explain what is namespace in Python?