Hei. I see that many times we have to add range in our code. What is range, and what does it do?
Hmm you could think of it like a for-loop, which iterates through the given numbers and adds those to a list, like:
range(4) will actually be a list ->
but you can also take a specific part of numbers:
so if you use this in a for loop for example:
for x in range(3,7):
the output will be: