निम्नलिखित का आउटपुट क्या होगा पायथन कोड?
What will be the output of the following Python code ?
from math import *
floor(11.7)
A)
B)
C)
D)
Explanation:
Let's break down the code:
from math import *
floor(11.7)
- The
floor()
function returns the largest integer less than or equal to the given number. - For
11.7
, the largest integer less than or equal to it is11
.
So, the output will be 11
.
Answer: (B) 11.