Computer Science, asked by Wizardy, 16 days ago

Write a Python program to input the radius of a circle and print its circumference.

Answers

Answered by naishas853
0

Answer:

Here is its answer:

•print("Enter Radius of Circle: ") r = float(input()) c = 3.14*r*r print("\nCircumference = ", c)

•def findCircum(rad): return 3.14*rad*rad print("Enter Radius of Circle: ", end="") r = float(input()) c = findCircum(r) print("\nCircumference = {:.2f}".format(c))

Answered by gourpihu0710
1

r=int(input("enter the radius ":))

c=2*3.14*r

print("the circumference",c)

Similar questions