mirror of
https://github.com/arthur-pbty/nsi.git
synced 2026-06-03 23:36:19 +02:00
exercise 1.3 update
This commit is contained in:
@@ -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")
|
||||
print("It's equal to my calculator.")
|
||||
Reference in New Issue
Block a user