py-repo

a python playground
Index Commits Files Refs README
commit 266698c4bd81dd32d151fbe9b7c59e72e1c35d61
parent 206af8b14a275e23f4533bd416fa0b7b554d9b52
Author: Martin J. Klöckner <martin.cachari@gmail.com>
Date:   Fri, 13 Nov 2020 21:03:07 -0300

Added simple degrees program, corresponding to exercise "ej7.c" from the c-repo

Diffstat:
Adegree.py | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/degree.py b/degree.py
@@ -0,0 +1,11 @@
+degree = int(input("Ingrese un angulo: "))
+
+if degree < 90:
+    print("El angulo ingresado es AGUDO")
+
+elif degree == 90:
+    print("El angulo ingresado es RECTO")
+
+elif degree > 90:
+    print("El angulo ingresado es OBTUSO")
+