32
7
10
3
a=b,b=a
a,b=b,a
a=b;b=a
a=b and b=a
211
216
1024
512
20.0
20
40.0
40
What does the following code will print ?
x=5 if x>3: print("Hello")
Hello
Hello Hello
nothing
Hello Hello Hello Hello Hello
27.2
29.0
14.9
12.3
8
6
4
4.0
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
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
100
-100
-101
101
12.5
9.8