Exercices Python

This commit is contained in:
IDEZ Ugo
2021-09-29 11:27:23 +02:00
parent 34c54eea8c
commit 7e1a478b23
3 changed files with 50 additions and 0 deletions

8
sio2/sisr/python/ex1.py Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/python3
pi=3.141592
r=int(input("Veuillez renseigner la valeur du rayon du cercle : "))
p=2*pi*r
print("Le périmètre vaut: ", p)