added old solutions
This commit is contained in:
parent
3a4827b082
commit
a373abfdf1
14 changed files with 153 additions and 0 deletions
6
py/9.py
Normal file
6
py/9.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
for a in range(1,1000):
|
||||
for i in range(1,a):
|
||||
b = a+i
|
||||
c = 1000-(a+b)
|
||||
if(a**2+b**2 == c**2):
|
||||
print(a*b*c)
|
||||
Loading…
Add table
Add a link
Reference in a new issue