Question: 36 -
What happens when '2' == 2 is executed?
-
Ture
-
False
-
ValueError occurs
-
TypeError occurs
Answer:
False
Solution:
It only evaluates to false.
It only evaluates to false.
Question: 37 -
Which of the following data types is shown below? What will be the output of this statement?
L = [2, 54, 'javatpoint', 5]
-
Stack
-
List
-
Tuple
-
Dictionary
Answer:
List
Solution:
Any value can be stored in the list data type.
Any value can be stored in the list data type.