From 92defcf856b3a555e089ecfa4c08df497cfa4cef Mon Sep 17 00:00:00 2001 From: William Bell Date: Thu, 22 Sep 2022 20:56:29 +0100 Subject: [PATCH] remove .py --- app.py | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 app.py diff --git a/app.py b/app.py deleted file mode 100644 index cc84de0..0000000 --- a/app.py +++ /dev/null @@ -1,20 +0,0 @@ -print('1. solve hypotenuse') -print('2. solve short side') -print('3. quit') - -while True then - choice < - input('choice: ') - if choice == 1 then - a = input('a: ') - b = input('b: ') - c = √(a*a+b*b) - print('c:', c) - elif choice == 2 then - b = input('b: ') - c = input('c: ') - a = √(c*c-b*b) - print('a:', a) - else then - quit() - endif -endwhile