logo-MindMajix
PostPythonPython
j
jordan chris

Posted on 20th July 2024|36 views

0
votes

Xrange Is Not Defined

Why am I getting an error called xrange is not defined?

1 answers
Answers
P
sumana reddy

Posted on 20th July 2024| views

So, by the question, I understood you are using python3. You have just to add xrange = range in your code because xrange in python2 is replaced with the range in python3 rest everything is same

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number