Loops In Python | Write A Program To Display All Odd Numbers From 1 To 20. | Using For Loop | Ques 2

2025 0:59
Synopsis
a=int(input("Enter any positive integer : ")) for i in range(1,a+1): if i%2!=0: print("The odd numbers are : ",i)
Download Options
Choose a download method below. All links open in new tabs.
Service Features Action
Ssvid
MP4 & MP3 • HD Quality • Browser Extension Available
Download
SaveFrom
MP4 & MP3 • HD Quality • Browser Extension Available
Download
Security Notice: These are third-party services. We recommend using antivirus software and being cautious of pop-up ads.