Professional Documents
Culture Documents
Aayan Test 1 Result
Aayan Test 1 Result
Aayan Test 1 Result
Question 1: Choose the Correct Option from the following and write it on your notebook.
(5 Marks)
1. Where we use ‘is’ operator in python?
A. Arithmetic Operators
we use 'is' operator in Identity operators
B. Identity Operator
C. Membership Operator
D. None of the above.
2. Which operator is used to check if a value is present in an object?
A. ‘in’
B. ‘not’
C. ‘or’
D. ‘is’
print (bool("Hello"))
A. True
B. False
D. Both
print (bool(0))
A. True
B. False
D. Both
B. Adds an element