r/PythonLearning • u/Repulsive-Song-1594 • 9d 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
10
Upvotes
View all comments
1
u/AndrewBorg1126 9d ago edited 9d 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?