From f137b82fcab8eaea788de172972caa6341a4a3c1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Oct 2024 10:31:11 +0200 Subject: [PATCH] =?UTF-8?q?=09nouveau=20fichier=C2=A0:=20sio2/SISR/07-pyth?= =?UTF-8?q?on/rayon.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sio2/SISR/07-python/rayon.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sio2/SISR/07-python/rayon.py diff --git a/sio2/SISR/07-python/rayon.py b/sio2/SISR/07-python/rayon.py new file mode 100644 index 0000000..56c5c9f --- /dev/null +++ b/sio2/SISR/07-python/rayon.py @@ -0,0 +1,5 @@ +#!/usr/bin/python3 + +R=float(input("Donnez la valeur du rayon du cercle : ")) +perimetre= 2*3.141592*R +print("Le perimetre vaut " , perimetre)