This blog helps you to learn basics to high level Python programming practicals.
Expected Output: 1 3 5 7 9
Program Code:
number = 1 while number <= 10: print(number, end=" ") number = number + 2
Output of Program:
1 3 5 7 9
* * * * *
< Back to Python Loops >
< Back to Home >
No comments:
Post a Comment