After copying the code for the solution to 2.1 and running the code, I receive this message in the terminal:
Traceback (most recent call last):
File “push_y.py”, line 6, in
n = int(sys.argv)
IndexError: list index out of range
Also, at the top of my code, it says “set as interpreter”, when I click on it, I receive the following message in the bottom right corner of the IDE. See below.
Any help on these? If someone could also explain why we use the line n = int(sys.agrv), that would be helpful as its not explained in the tutorial or previous python for robotics course.