From 39c9c65eeca73bdd7fc2626970398750d6769e55 Mon Sep 17 00:00:00 2001 From: "Mr. Enrico" Date: Wed, 23 Feb 2022 10:04:39 -0500 Subject: [PATCH 1/3] Add formula for circumference to main.py --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index c30e4a4..39ba9c8 100644 --- a/main.py +++ b/main.py @@ -1 +1,4 @@ -PI = 3 +PI = 3.1415927 + +def circumference(radius): + return 2 * PI * radius From ce52d7d96cdb419388243ecba8bc10de81cedc7c Mon Sep 17 00:00:00 2001 From: Gaster124 <> Date: Wed, 23 Feb 2022 17:08:04 +0000 Subject: [PATCH 2/3] Erased the cicumference value for the merge --- main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.py b/main.py index 82a084f..fba884d 100644 --- a/main.py +++ b/main.py @@ -2,9 +2,3 @@ def area(radius): return PI * radius ** 2 - -PI_Long = 3.1415927 - -def circumference(radius): - return 2 * PI * radius - From db33f1b8846d16b074e164e9c14900c6f9178f26 Mon Sep 17 00:00:00 2001 From: Gaster124 <> Date: Wed, 23 Feb 2022 17:08:53 +0000 Subject: [PATCH 3/3] Moved the text down --- main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.py b/main.py index 39ba9c8..1a373da 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,8 @@ + + + + + PI = 3.1415927 def circumference(radius):