Clebron2177 Clebron2177
  • 02-06-2023
  • Engineering
contestada

An integer n is called a square if n = m*m for some integer m. As we all know, 1, 4, 9, 16, and 25 are squares. But what about bigger numbers, like 543168? (It's not a square. 543169 is.) Write a function, is_square that takes as argument a positive integer and return True if that integer is the square of another integer, and False if it is not.

Respuesta :

Otras preguntas

If a = b + 2, then (b - a)⁴ = ?
What is the value of x? A right triangle with a short leg measuring 5, a long leg measuring 5, and the hypotenuse as x.A. 10 B. 5C. [tex] 2\sqrt5 [/tex]D. [tex
Why is the enlightenment considered the turning point in world history
11. Consider the elements neon, bromine, and phosphorus. Which has five electrons in its 4p sublevel?
Which decimal is equal to 7/10?A. 0.71B. 0.7C. 0.07D. 0.071
how many year and months did it take to build blackpool tower england
Mary is making a pinata that has a ball-like shape. The pinata has a surface area of 40 feet. Use the formula for the surface area of a sphere: (S=4πr^2) to fin
when did fair trade start
How did world war 1 contribute to the collapse of the Russian monarchy?
Why is the enlightenment considered the turning point in world history