Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import pi
- def circle_circumference_area(radius):
- circumference = 2 * radius * pi
- area = radius * radius * pi
- return circumference, area
- if __name__ == "__main__":
- radius = int(input("radius="))
- print("circumference=%d\narea=%d" % circle_circumference_area(radius))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement