InterviewSolution
Saved Bookmarks
| 1. |
What is the use of Xrange in Python? |
|
Answer» In Python, the use of the xrange() FUNCTION is to generate a SEQUENCE of numbers that are similar to the RANGE() function. But, the xrange() function is used only in Python 2. xx WHEREAS the range() is used in Python 3. |
|