8/19


#1

my code:

import math
print math.sqrt();

the console window:

File "python", line 4, in
TypeError: sqrt() takes exactly one argument (0 given)

please help quick


#2

Have you read the error message?


#3

Yeah, but I don't get it


#4

What's the purpose of the sqrt function?
And considering that purpose, what will it do when given no arguments?


#5

NOW I GET IT! Haha, that was a stupid mistake. Thanks for your help.