Report Bug

Qus

What does the following code do?

from math import *
print(cos(0))
Qus

निम्न code क्या करता है?

from math import *
print(cos(0))


A. Prints 1.0
B. Raises a NameError
C. Prints cos(0)
D. Error


Solution
A. Prints 1.0



Explanation
<p><span style="font-size: 14px;">import * imports cos, and mathematically cos(0) = 1.0.</span></p><p><span style="font-size: 14px;"><br></span></p><p><span style="font-size: 14px;">import * से cos() import हो जाता है और cos(0) का मान 1.0 है।</span></p>
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