sqrt()

sqrt(x) returns squqre root of input number
import math
print(math.sqrt(4))    # 2.0 
print(math.sqrt(16))   # 4.0 
print(math.sqrt(20))   # 4.47213595499958
print(math.sqrt(0))    # 0.0
Using negative number
For any value less than 0 , we will get ValueError
import math
print(math.sqrt(-15)) 
Above code will generate error.

log10 modf()


plus2net.com



Post your comments , suggestion , error , requirements etc here




We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2020 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer