About 1,140,000 results
Open links in new tab
  1. Python Program to Print First 10 Odd Natural Numbers

    Write a Python program to print first 10 odd natural numbers using for loop. print(2 * i - 1) This Python program displays the first 10 odd natural numbers using a while loop. print(2 * i - 1) i = i …

  2. Print first 10 natural numbers using while loop in Python | Code

    Dec 21, 2021 · To print the first 10 natural numbers using the while loop can be done by repeating a block of code until a specific condition is met. While the loop does iteration until a specified …

  3. Print Odd Numbers from 1 to 100 in Python – allinpython.com

    In this post, we will learn how to write a program to print odd numbers from 1 to 100 in Python using for-loop, while-loop, function, etc. with proper algorithm and explanation.

  4. Python Program to Print Odd Numbers from 1 to N - Tutorial …

    Write a Python Program to Print Odd Numbers from 1 to N using While Loop and For Loop with an example. This Python program allows the user to enter the maximum limit value. Next, it is …

  5. While Loop / Continue Statement for Odd and Even Numbers

    Feb 10, 2019 · My program needs to use two while loops and two continue statements to print odd numbers from 1 to 10. Then it will print even numbers in reverse from 8 down to 1.

  6. Python while loop exercises for CBSE Computer Science

    6- Python program to print a series of (10, 20, 30, 40, 50) using while loop. 7- Python program to print sum of first 10 Natural numbers using while loop. 8- Python program to print sum of first …

  7. 40 Important Questions of While loop in Python (Solved) Class 11

    May 12, 2021 · Programs of while loop in Python Q1. Write a program to print the following using while loop a. First 10 Even numbers b. First 10 Odd numbers c. First 10 Natural numbers d. …

  8. Python Function: Print First 10 Odd Numbers Using While Loop

    Learn how to write a Python function that prints the first 10 odd numbers using a while loop.

  9. Python prints odd numbers between 1 to 10 using a while loop.

    Oct 1, 2022 · In this article, we are going to create Python to print odd numbers between 1 to 10 using a while loop. In computer programming, a loop is a set of statements that are repeated...

  10. Print 1 to 10 in Python using While Loop - Know Program

    In this post, we will discuss how to print 1 to 10 in Python using while loop. Also, develop a program to print 1 to 10 without loop in python. We will take a range from 1 to 11. Then, print …

  11. Some results have been removed
Refresh