This blog helps you to learn basics to high level Python programming practicals.
Expected Output: 2 4 6 8 10
Program Code:
for i in range(2, 11, 2): print (i, end=" ")
Output of Program:
2 4 6 8 10
* * * * *
< Back to Python Loops >
No comments:
Post a Comment