CampusX SDE Sheet | Write a program to print the first 25 odd numbers

Write a program to print the first 25 odd numbers

Write a program to print the first 25 odd numbers



'''
Write a program to print the first 25 odd numbers
'''
counter = 0
num = 1

while counter < 25:
    print(num)
    num += 2
    counter += 1

Post a Comment

Previous Post Next Post