Q1.what is the output of python
5 and 7 and 9
9
7
5
11
9
7
5
11
Q2.what is the output of python
5 or 7 or 9
7
5
9
11
7
5
9
11
Q3.what is the output of
5 and 7 or not 6
6
5
7
4
6
5
7
4
Q4.what is the output of
-22%5-50//6
4
-4
5
-5
4
-4
5
-5
Q5.what is the output of
2 and 5 and 6
5
6
2
8
5
6
2
8
Q6.Which is not an immutable in python
set
tuple
dictionary
list
set
tuple
dictionary
list
Q7.Operator used to check if both the operands reference the same object memory
in
is
==
id
in
is
==
id
Q8.what is the value of the expression
100/25
4.0
4
2
2.5
4.0
4
2
2.5
Q9.what is the ouput of
100//5
-20.0
23
20
20.0
-20.0
23
20
20.0
Q10.what is the output of
5 or 6 or 8
8
6
5
-6
8
6
5
-6
0 Comments