sisr-11-python3
This commit is contained in:
8
sio2/sisr/11-python/ex1.py
Executable file
8
sio2/sisr/11-python/ex1.py
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
p = 3.141592
|
||||
rayon = int(input("Quel est le diametre du cercle ?"))
|
||||
|
||||
resultat = 2*p*rayon
|
||||
|
||||
print("Le rayon du cercle est de " , resultat)
|
||||
Reference in New Issue
Block a user