🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code ?

from math import *
ceil(3.4)
A)
B)
C)
D)

Explanation:

The correct answer is:

(A) 4

Explanation:

  • The ceil() function from the math module returns the smallest integer greater than or equal to the given number.
  • For ceil(3.4), the smallest integer greater than or equal to 3.4 is 4.

So, the output of the code ceil(3.4) is 4.

Output:

(A) 4

Latest Updates