Modules | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Modules

What is the output of this code? import math as m print(math.sqrt(25)) An error occurs 25 5

3rd May 2018, 2:43 AM
Lakshman Patel
Lakshman Patel - avatar
3 Answers
+ 5
If you import math as m, then do: m.sqrt(25)
3rd May 2018, 3:02 AM
Vivek Sivaramakrishnan
Vivek Sivaramakrishnan - avatar
0
an error occurred
12th Sep 2019, 2:12 PM
Karen Ghazanchyan
Karen Ghazanchyan - avatar
- 2
In they program no error! I got 5 in JUPYTER!
16th Oct 2018, 7:04 AM
Aleksandr Bychkov
Aleksandr Bychkov - avatar