Pygame-Examples icon indicating copy to clipboard operation
Pygame-Examples copied to clipboard

Name Error

Open abhrakantidubey opened this issue 5 years ago • 1 comments

line 36, in createCircles for i in xrange(100): NameError: name 'xrange' is not defined

Hello I am getting this error hope u will help me to fix it Thanks

abhrakantidubey avatar Oct 03 '20 03:10 abhrakantidubey

Try changing xrange to range.

xrange was used in Python2. In Python3 it has been renamed to range.

bandirevanth avatar Feb 18 '22 04:02 bandirevanth