This type of function does not have input arguments but has a value to return to the main program.
Write a program to calculate and print sum of first 50 even numbers.
for i in range(1,51):
print("Sum of Even Number in Range 1 to 50: ", S)
Sum of Even Number in Range 1 to 50: 2550
Write a program to input radius of a circle and calculate its area.
r=int(input("Enter radius of circle :"))
print("The Area of circle is ", A)
Enter radius of circle :5
The Area of circle is 78.5