• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
0

How to write √ of any quantity in python?

pythonnumeric-operations
9th May 2019, 3:54 PM
Neha Sharma
Neha Sharma - avatar
2 odpowiedzi
+ 1
Hi. I am thinking of numpy in this case. https://docs.scipy.org/doc/numpy/reference/generated/numpy.sqrt.html If you consider other than square you might want to use numpy's power https://docs.scipy.org/doc/numpy/reference/generated/numpy.power.html
9th May 2019, 4:30 PM
ChrA
ChrA - avatar
+ 1
Are we talking simple roots? 4**(1/2) == 2 27**(1/3) == 3
9th May 2019, 6:10 PM
HonFu
HonFu - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
My codebits section is full of deleted codes
12 Votes
Ai generated practices
1 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
I need a siren sound
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Where can I find python and SQL projects to work on for my portfolio that are beginner to intermediate?
1 Votes
help!!! How to build portfolio? I am in last year of highschool and still noob lol
0 Votes