5 августа 2026
6 августа 2026
7 августа 2026
Ссылка
нажмите — покажем
нажмите — покажем
Here is a three-minute video on how to learn anything with AI, featuring my personal AI clone! Please take a look—I would love to get your thoughts and feedback in the comments.
https://www.youtube.com/watch?v=sNRm7Zdc_Lk
AbdurahmonSomeone please explain this to me:
language = 'Python'
pto = language[0:6:2] #
print(pto) # Pto
How the hell it's working?
String slicing parameters are start:stop:step.
So the first parameter is where to start, the second one is where to stop, and the third one is how many indexes to move each time.
Python will be indexed as:
Python
012345
We are starting from index 0, so we will slice P. Then we move 2 indexes to index 2, so we will slice t. Finally, we move 2 indexes again to index 4, so we will slice o. The next move would take us to index 6, which is the stop index, so slicing ends.
8 августа 2026
10 августа 2026
11 августа 2026
12 августа 2026