The Range Function, Tuples, Unpacking in Python
Day 7 in #100DaysOfCode
The Range Function
We use the range function to generate a sequence of numbers in Python. Here is a small example:
Code:
numbers= range(5)
print(numbers)
Result:
range(0, 5)
This is the default representation of the range obj...
ilkecandan.hashnode.dev2 min read