how to print numbers from 1 to 20 in python

Solutions on MaxInterview for how to print numbers from 1 to 20 in python by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "how to print numbers from 1 to 20 in python"
Jean
19 Nov 2018
1for i in range(1, 21):
2    print(i)