Posts

Showing posts with the label Write a python script to print first N odd natural numbers in reverse order

Write a python script to print first N odd natural numbers in reverse order

  #Write a python script to print first N odd natural numbers in reverse order a=int(input( "Enter the number" )) i= 1 while a>=i:     if a% 2 != 0 :         print(a)     a-= 1