Evaluate the following expression.
a)'a' in ['c', 'e', 'a','t']
b)5<5 or 10
Answers
Answered by
0
Answer:
a) True
b) 10
Explanation:
a) in keyword checks if the element is present in the array or not and returns value accordingly.
b) Since 5 is not less than 5 the second statement i.e 10 here is displayed.
Similar questions