In python I need help editing is_perfect_square so that the program can return true or false to the number that are perf

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

In python I need help editing is_perfect_square so that the program can return true or false to the number that are perf

Post by answerhappygod »

In python I need help editing is_perfect_square so that theprogram can return true or false to the number that are perfectsquare (true) or imperfect squares (false). Like shown below
>>> is_perfect_square(3364)
True>>> is_perfect_square(529)
True
>>> is_perfect_square(225)
True>>> is_perfect_square(16)
True
>>> is_perfect_square(26)
False>>> is_perfect_square(13)
False
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply