Dear, 365 DataScience Team
I’ve just recognised that there are some errors in your video lectures.
I’m learning the course : the basic of Python now, some lectures(actually most of them) play twice in the same lecture, and these lectures don’t provide subtitles.
The courses, which play just a time and are normal provide subtitles.
I guess some problems with uploading have ocurred.
and the second you provide two versions of files for practices one of that is for Python 2 and the another one is for Python 3.
But It works in my computer just only python 3! it doesn’t matter whether the name of files is py2 or py3
how can i solve this problem?
Please check out ! thanks a lot.
The lecture name :
Create Lists with the range() Function
in your video you describe the stop of range function as the last value + 1, when i excute this function the stop of range function. It seems like actually value – 1, instead of value – 1 though.
so i would like to ask you which argument is correct.
Thanks for reading
Thanks for reaching out.
Please accept my apologies for the delayed response.
Python 2 and 3 are two versions of the same language. Historically, Python 2 was used a lot and perhaps more, but since a few years we only use Python 3.
Regarding your first observation – quite simply, we provide a video once for Python 3 and once for Python 2. However, we realise the diminishing use of Python 2 globally, so in a few weeks or months, we will remove the Python 2 version of (most probably almost) all lectures. This issue will be subject to a later revision, but that’s the main guideline for now.
Therefore, since you apparently have the Python 3 kernel installed only, use the _Py3.ipynb files only, and feel free to only watch the first half of the lectures where we have intentionally provided an alternative for Python 2.
Otherwise, to be able to use the ones with Python 2 script, you need to additionally install a Python 2 kernel on your computer.
With regards to your last question, I suppose it just depends how you look at it. For example, range(1, 10, 1) will deliver a sequence containing all integers from 1 to 9, where 9 = 10 – 1, which means that within the parentheses of the range() function we need to provide the number we intend to display, i.e. 9, + 1. That’s the idea.
Hope this helps.