Python Program to Print Odd Numbers from 1 to 20 Using For Loop

Veröffentlicht am: 11 Februar 2026
auf dem Kanal: codehands
14
2

In this video, you will learn how to write a simple Python program to print odd numbers from 1 to 20 using a for loop.

This beginner-friendly tutorial explains:

✔ What are odd numbers
✔ How the for loop works in Python
✔ How to use the range() function
✔ Step-by-step logic explanation
✔ Clean and easy-to-understand code

If you are starting your coding journey, this example will help you understand loops and number patterns clearly.

💻 Program Covered in This Video:

Using range(1, 21)

Applying condition to check odd numbers

Printing output using Python

This video is perfect for:

Beginners in Python

Students learning programming basics

School and college assignments

Coding interview preparation

Practice this example and try modifying the range to print more odd numbers!

👉 Don’t forget to Like, Share, and Subscribe to CodeHands for more coding tutorials, logic building programs, and programming concepts explained in simple language.

#Python #PythonForLoop #CodingForBeginners #OddNumbers #LearnPython #CodeHands #ProgrammingTutorial


Auf dieser Seite können Sie das Online-Video Python Program to Print Odd Numbers from 1 to 20 Using For Loop mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer codehands 11 Februar 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 14 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!