Questions : | Correct_answer : | Wrong answer : | Percentage: %
-
A.
List
-
B.
Dictionary
-
C.
Tuple
-
D.
Set
Correct Option: CExplanation: Tuple
-
A.
"Python\tis\tEasy\n"
-
B.
"Hello, it's very easy to learn Python"
-
C.
"Python", "easy"
-
D.
"Python is easy'
Correct Option: DExplanation: "Python is easy'
-
A.
List
-
B.
Dictionary
-
C.
Tuple
-
D.
String
Correct Option: AExplanation:
- Lists are created using square brackets.
- List is built-in data types in Python used to store collections of data.
- Lists are used to store multiple items in a single variable.
-
A.
List
-
B.
Dictionary
-
C.
Tuple
-
D.
String
Correct Option: AExplanation:
- Lists are created using square brackets.
- List is built-in data types in Python used to store collections of data.
- Lists are used to store multiple items in a single variable.
- List items are ordered, changeable, and allow duplicate values.
- To determine how many items a list has, use the
len()
function.
- List items can be of any data type.
- A list can contain different data types.
-
A.
List
-
B.
String
-
C.
Dictionary
-
D.
Tuple
Correct Option: DExplanation:
- Tuple is data types in Python used to store collections of data
- Tuples are used to store multiple items in a single variable.
- A tuple is a collection which is ordered and unchangeable.
- Tuples are written with round brackets.
-
A.
List
-
B.
Dictionary
-
C.
Tuple
-
D.
Set
Correct Option: BExplanation: Dictionary
-
A.
Integer
-
B.
String
-
C.
List
-
D.
Float
Correct Option: DExplanation: Float
-
A.
Integer
-
B.
List
-
C.
String
-
D.
Float
Correct Option: DExplanation: Float
-
A.
Tuple
-
B.
Set
-
C.
List
-
D.
Dictionary
Correct Option: DExplanation: Dictionary
-
A.
List
-
B.
Module
-
C.
Dictionary
-
D.
Tuple
Correct Option: BExplanation: Module