Report Bug

Qus

What will be the output of the code given below?

import math as m
print(m.pi)
Qus

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

import math as m
print(m.pi)


A. 3.141592654
B. math.pi
C. Error
D. None


Solution
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 देता है।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad