r/PythonLearning • u/Repulsive-Song-1594 • 4d ago
i am stuck with the range function
sorry but i am gonna crash out because of the range function i cant understand it well to use it this is driving me crazy any one could give me a video explaining everything i dont mind it being an hour long
8
Upvotes
View all comments
1
u/AndrewBorg1126 4d ago edited 4d ago
Meanwhile, here I am wondering how there would possibly even be enough stuff involved in it to spend an hour talking about range.
It gives you a range of numbers described by the parameters. It's worth examining the edge behaviors like whether bounds are inclusive or exclusive, maybe what happens when the step size excludes the second bound as an element, but aside from that what really is there to talk about?