Advertisements
Advertisements
प्रश्न
Consider the given expression:
5<10 and 12>7 or not 7>4
Which of the following will be the correct output if the given expression is evaluated?
विकल्प
TRUE
FALSE
NONE
NULL
MCQ
उत्तर
TRUE
Explanation:
5<10 and 12>7 or not 7>4
True and True or not True
True and True or False
True or False
True
shaalaa.com
Function Returning Values
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Write a function INDEX_LIST(L), where L is the list of elements passed as arguments to the function. The function returns another list named ‘indexList’ that stores the indices of all Non-Zero Elements of L.
For example:
If L contains [12, 4, 0, 11, 0, 56]
The indexList will have - [0, 1, 3, 5].
Which of the following is a valid keyword in Python?