mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
remove .py
This commit is contained in:
20
app.py
20
app.py
@@ -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
|
|
||||||
Reference in New Issue
Block a user