0
Q:

range between things py

num1= = 100
num2 = 904574
range_between_num1_and_num2 = num2 - num1
1
print("using start, stop, and step arguments in Python range() function")
print("Printing All odd numbers between 1 and 10 using range()")
for i in range(1, 10, 2):
    print(i, end=', ')
2
for i in range(1, 10):
  print(i)
#This code will print all numbers from 1 to 10
#the first number in the range brackets is the starting point
#the second number in the range brackets is the ending point
3

New to Communities?

Join the community