Skip to content
  • Tutorials
    • c programming
      • libraries
    • c++
    • Linux
    • Python
    • batch programming
    • Technology
  • IDE
  • Tools
python range not starting at 0 1

python range not starting at 0

June 23, 2022 by Anurag batra
>>> 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.

Categories Python Examples
Post navigation
nth root of a number python
how to download the captions of a youtube video
© MyEduKit - 2022 . All Rights Reserved.