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 देता है।
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