How Do I do this | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How Do I do this

I need help to list all perfect squares in pi within a certain range in Python code. For example 3.14 are the first 3 digits 1 and 4 are perfect squares and there may be some double digit or triple digit perfect squares within pi. Please Help Me.

15th May 2018, 2:44 AM
Anderson Green
Anderson Green - avatar
1 ответ
0
Check this, it only returns the values in the range that the module math gives us of pi but would work with more: https://code.sololearn.com/clCXuV6UrZKc/?ref=app
20th May 2018, 1:38 PM
Víctor
Víctor - avatar