Horje
while loop odd numbers python Code Example
while loop odd numbers python
# Python Program to Print Odd Numbers from 1 to N

maximum = int(input(" Please Enter the Maximum Value : "))

number = 1

while number <= maximum:
    if(number % 2 != 0):
        print("{0}".format(number))
    number = number + 1




Python

Related
sum of positive numbers in array with negative python Code Example sum of positive numbers in array with negative python Code Example
python square a number Code Example python square a number Code Example
cv2 check if image is grayscale Code Example cv2 check if image is grayscale Code Example
how to use random tree in python Code Example how to use random tree in python Code Example
Groups the DataFrame using the specified columns Code Example Groups the DataFrame using the specified columns Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6