Computer Science, asked by xxxcccccc12, 4 months ago

write a program in python to calculate and print the sum of even and odd integers of the first n natural number​

Answers

Answered by deepika01479973
1

Answer:

This Python program allows the user to enter the maximum limit value. Next, it is going to print even, and odd numbers from 1 to that user entered limit value. In this example, the For Loop makes sure that the number is between 1 and maximum limit value. Next, we used If Else to check the even number.

Answered by sahoorudramadhab2007
0

This Python program allows the user to enter the maximum limit value. Next, it is going to print even, and odd numbers from 1 to that user entered limit value. In this example, the For Loop makes sure that the number is between 1 and maximum limit value. Next, we used If Else to check the even number .

PLEASE MARK ME AS BRAINLEIST AND FOLLOW ME FOR ANY QUERIES AND THANKS MY ALL ANSWERS .

Similar questions