MCQ Answer

<p>What will be the output of the code given below?</p><pre>import math as m<br>print(m.pi)</pre>

What will be the output of the code given below?

import math as m
print(m.pi)


निम्न code का output क्या होगा?

import math as m
print(m.pi)
Topic : Modules in Python

A. 3.141592654

B. math.pi

C. Error

D. None




Correct Answer is :

A. 3.141592654



Explanation
m is an alias for the math module, and m.pi gives the value of π. <br><br>m, math module का alias है और m.pi π की value देता है।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad