CCareaga / Pygame-Examples

Just a collection of my Pygame projects
60 stars 27 forks source link

Name Error #1

Open abhrakantidubey opened 4 years ago

abhrakantidubey commented 4 years ago

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

bandirevanth commented 2 years ago

Try changing xrange to range.

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