FunctionRacerProblemsRace

Perfect Square Check

EasyMathPython, JavaScript, TypeScript

Return True if num is the square of some whole number, otherwise False. Do not use sqrt or **0.5.

Example 1

num 49
returns true

7 * 7.

Example 2

num 50
returns false

Between 49 and 64.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More Math problems