Python - Standard Library Usage
Which of the following is the correct syntax to calculate the square root of 16 using the math module?
math.sqrt(), so syntax must include math.sqrt(16).import math
result = math.sqrt(16) correctly imports math and calls math.sqrt(16). math.square(16) uses wrong function name, sqrt(16) misses module prefix, math.power(16, 0.5) uses non-existent function.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions