Write a Python program to print the sum of all the even numbers between 1to 50.
Answers
Answered by
3
Answer:
This Python program allows the user to enter the maximum limit value. Next, Python is going to calculate the sum of even numbers from 1 to that user-entered value.
Answered by
0
Answer:
=50(50+1)/2
=50*51/2
=25*50
=1275
Similar questions