Commit 2a90d450 by BellCodeEditor

save project

parent 92449b0c
Showing with 13 additions and 0 deletions
import time
start_time=time.time()
list=[]
for a in range(0,100):
for b in range(0,100):
for c in range(0,100):
if a*a + b*b ==c*c and a+b+c==100:
list.append(0)
print(a,b,c)
end_time= time.time()
print(end_time)
cc=end_time-start_time
print(cc)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment