4
4.0
8
8.0
What will be the output of the following ?
import math print(math.fact(5))
120
25
1,2,3,4,5
Error
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).
-9
9
6
-6
Break stops the execution of entire program
Break halts the execution and forces the control out of the loop
Break forces the control out of the loop and starts the execution of next iteration
Break halts the execution of the loop for certain time frame
sqrt()
add()
rhombus()
home()
A*A=8
A*=8
A*8=A
A=*8
|
&
^
!
0.0
0
1.0
1
11
10
100
-100
-101
101
7
12.5
9.8
[4,6]
[1, 2, 3, 4]
Error in Code
True
False
3
5
+5
-11
+11
-5
65536
33
169
None of the above
4.5
What is the output of the following program:
i = 0 while i < 3: print (i) i=i+1 print (i+1)
0 2 1 3 2 4
0 1 2 3 4 5
Infinite loop
0 1 2 3