I have downloaded the 4-refactoring for Your turn: Refactoring.
I am getting following when I run it.
Welcome to the talk python info downloader.
Traceback (most recent call last):
File "/Desktop/mastering-pycharm-course/mastering-pycharm-course/your-turn/4-refactoring/smelly_podcast/program.py", line 56, in <module>
main()
File "/Desktop/mastering-pycharm-course/mastering-pycharm-course/your-turn/4-refactoring/smelly_podcast/program.py", line 41, in main
end = random.randint(130, latest_id + 1)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/random.py", line 248, in randint
return self.randrange(a, b+1)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/random.py", line 226, in randrange
raise ValueError("empty range for randrange() (%d, %d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (130, 27, -103)
Working with total of 25 episodes
Process finished with exit code 1
The Python version I have in the virtual environment is 3.8.2 and I have version 2020.1.1 Professional Edition on an iMac with macOS Catalina.
I have downloaded the 4-refactoring for Your turn: Refactoring. I am getting following when I run it.
The Python version I have in the virtual environment is 3.8.2 and I have version 2020.1.1 Professional Edition on an iMac with macOS Catalina.