Robotics & Artificial Intelligence
Which of the following data types would be used in Python to store values in terms of key and value?
- list
- tuple
- dictionary
- String
Related Questions
Which of the following is the correct representation to define a list in Python?
- Elements are written using curly braces { }
- Elements are written using parentheses ( )
- Elements are written using square brackets [ ]
- Elements are written using angle brackets < >
Which of the following data type would be used for a variable to store the value 3.14 in Python?
- int
- decimal
- double
- float
Given
My_Data = [12, 25, 'Hello', "World"]What data type is the representation of the above object?
- list
- dictionary
- array
- tuple
Which of the following is a mutable data type in Python?
- Strings
- Tuples
- Lists
- Integers