Let’s check out some exercises that will help understand range() function better.
Create a range from 0 to 50, excluding 50.
Create a range from 0 to 10 with steps of 2.
Create a range from 100 to 160 with steps of 10. Then print it as a list.
Can you you create a list from 1300 to 700 with descending steps of 100? Is your stop value included in the list?
Can you you create a list from 1300 to 700 with descending steps of 100, this time including 700?