Python Intro Ep 18 - Advanced Ranges and Slices

preview_player
Показать описание
What are some more advanced ways we can use the range() function? Can we do anything more with slices than we've already seen?
Рекомендации по теме
Комментарии
Автор

The fact that in 10 minutes I was able to understand this over my hour and a half lecture with my tenured professor shows how good you are at teaching. Thank you!

TheWolfeman
Автор

I have a question about range/python in general. I was doing some tests and the program let me write something like this:
for i in range(0, 100, *[20]):
print(i)

But if I erase the *, the program won't run, do you know what's the explanation for this?

welcome to shbcf.ru