Posts

Showing posts with the label Write a python script to print first N natural numbers

Write a python script to print first N natural numbers

  Write a python script to print first N natural numbers a=int(input( "Enter the number" )) i= 1 while i<=a:     print(i)     i+= 1