How can i make a loop that repeats 10 times without having a counter, so i can put in what i want to not 1,2,3,4...

7/24/2016 5:15:57 PM

Silver Night

3 Answers

New Answer


Some functions can be called with multiples arguments separated by a comma, and range() is one of them. let's you change the integer passed to range() to follow any sequence of integers, including starting at a number other than zero. For example: for i in range(12, 16): print(i)



a for loop with range()