No products in the cart.

To print first n odd no.s …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

To print first n odd no.s in descending order using for loop in python
  • 1 answers

Kritika Vishwa 5 years, 8 months ago

n = int(input("Enter Number :")) for i in range(n - 1, -1, -1): a = 1 + i * 2 print("List is :", a) Output: Enter Number :5 List is : 9 List is : 7 List is : 5 List is : 3 List is : 1
http://mycbseguide.com/examin8/

Related Questions

Give two feature of internet
  • 0 answers
5 uses of mouse
  • 0 answers
Types of e-commerce fraud
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App