>>> range(1,11)
Here is what the above code is Doing:
1. We create a list of numbers from 1 to 10 using the range() function.
2. We then create a for loop that will iterate through each number in the list.
3. We then print out the number.
>>> range(1,11)
Here is what the above code is Doing:
1. We create a list of numbers from 1 to 10 using the range() function.
2. We then create a for loop that will iterate through each number in the list.
3. We then print out the number.