Answers for "inclusive range of 2 to 5 in python"

1

inclusive range of 2 to 5 in python

# range(2, 6)
for idx in range(2, 6):
    print(idx, end=" ")  # 2 3 4 5
Posted by: Guest on March-25-2022

Code answers related to "inclusive range of 2 to 5 in python"

Python Answers by Framework

Browse Popular Code Answers by Language