Python 3 - Mimicking the Range Function

preview_player
Показать описание
Here we create our own function to mimic the Python 3 built-in range function, but in order to reduce the complexity, we will return an actual list (like the old Python 2 version of the range function). Touches on collecting arguments as a list, the immutable collection called "tuple", difference between a list and a tuple, setting multiple variables from a list or tuple, And program testing.
Рекомендации по теме
Комментарии
Автор

How can you make this function work with negative numbers?

reedpeglow