Computer Science
What data type is the object below ?
L = 1, 23, 'hello', 1
- list
- dictionary
- array
- tuple
Related Questions
Following set of commands is executed in shell, what will be the output?
>>>str = "hello" >>>str[:2] >>>
- he
- lo
- olleh
- hello
What data type is the object below ?
L = [1, 23, 'hello', 1]- list
- dictionary
- array
- tuple
To store values in terms of key and value, what core data type does Python provide ?
- list
- tuple
- class
- dictionary
What is the value of the following expression ?
3 + 3.00, 3**3.0- (6.0, 27.0)
- (6.0, 9.00)
- (6, 27)
- [6.0, 27.0]
- [6, 27]