DEV Community

Discussion on: 50 Python Interview Questions and Answers

Collapse
 
musale profile image
Musale Martin

This is a really informative article. On question 13, is it possible to add a note that the behavior of range and xrange that is explained is based on Python 2. In Python 3, xrange is deprecated and the default behavior it had is moved to range.