"> ");
0 of 5 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 5
Time has elapsed
0 of 0 point(s), (0)
0 of 0, (0)
Essay(s) Pending: 0 (Possible Point(s): 0)
A list in Python can contain only one data type. For example, a list can only contain integer numbers or text or real numbers. Under no circumstances can it contain a value data type combination.
The following list is probably wrong. Or maybe not;
[3, ‘Cat’, 6/3, 5.6, ‘John’]
By executing the following code:
list = [3, ‘Cat’, 2, 5.6, ‘John’]
list.insert (2, ‘lion’)
print (list)
We will get the result:
Loop is a set of commands that can be repeated.
The range function, when combined with the for function, always indicates the number that the repeating variable counts will end.