You are given with a list of positive integers nums, return whether there exist integers a, b, and c such that a ** 2 + b ** 2 = c ** 2.
Expert's answer
ls=list(map(int,input().split()))
forainrange(len(ls)-2):
forbinrange(a+1,len(ls)-1):
for c inrange(b+1,len(ls)):
if ls[a]**2+ls[b]**2==ls[c]**2:
print([ls[a],ls[b],ls[c]])
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!