From 16a195bfbe9ea7181d1c71008fbd21c47123ac99 Mon Sep 17 00:00:00 2001 From: Tutur33 Date: Tue, 28 Nov 2023 22:49:04 +0100 Subject: [PATCH] exercise 1.3 update --- Activity_3_python/exercises_1/exercise_1_3.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Activity_3_python/exercises_1/exercise_1_3.py b/Activity_3_python/exercises_1/exercise_1_3.py index 5f70844..ac0e90b 100644 --- a/Activity_3_python/exercises_1/exercise_1_3.py +++ b/Activity_3_python/exercises_1/exercise_1_3.py @@ -1,5 +1,10 @@ -from math import * +# Display the numerical value of √(4.63 - 15/16) +# Compare with your calculator. + +from math import sqrt + a = sqrt(4.6**3 - 15/16) print(a) + if a == 9.818273779030608: - print("C'est bien égale") \ No newline at end of file + print("It's equal to my calculator.") \ No newline at end of file