Professional Documents
Culture Documents
a. 0 95
b. 87 95
c. 87 67
2. Suppose list1 is [2445,133,12454,123], what is max(list1)?
a. 12454
b. 2445
c. 133
3. Determine the output of the following code:
a. hellohellohello
b. hello, hello, hello
c. hello hello hello
4. Allocate 300 to the vertical index (row) 1 and the horizontal index (column) 1
5. Default parameters should be assigned to all variables or from the last variable in the
order of appearance of the parameters
a. true
b. false
6. Fill the gaps “By using _____ ________ expression we create two-dimensional list
with a single line code”
a. Line implication
b. List comprehension
c. Line addition
7. What is used to count the number of cases in which a dice is rolled twice?
a. Count_set function
b. Sum method
c. Product_set function
8. Is position of arguments important when keyword arguments are used?
a. Yes
b. No
Answer: _____3____________
Answer: ______False__________
a. Among the sequence data types, + operator cannot link the range objects
b. Among the sequence data types should be in separate brackets
c. Range of Python methods is not variable