about | help | code help+videos | done | prefs |
pythagorean
Given three integers, are they are a Pythagorean triple? That is, does the sum of squares of the first two equal the square of the third? pythagorean(3, 4, 5) → True pythagorean(4, 5, 6) → False pythagorean(0, 1, 1) → True ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy