Math Module in Python MCQs Exercise II


Ques 1 Math Module


What is the output of the following Python Code?


import math
def area(radius):
    return math.pi*radius*radius
print(area(10))

  a) 3140.1592653589793
  b) 31.415
  c) Error
  d) 314.1592653589793


d is the correct option