Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def circle_length(radius):
- return radius * 2 * 3.15159
- def circle_area(radius):
- return radius ** 2 * 3.14159
- def main():
- r = float(input("Радиус >>> "))
- print("Длина окружности:", circle_length(r))
- print("Площадь окружности:", circle_area(r))
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement