143. What will be printed when the following code is executed?
Anonymous Quiz
6%
error
29%
[1, 5, 7]
54%
[1, 7]
11%
[1, 2, 4, 6, 7, 8]
144. What will be printed when the following code is executed?
Anonymous Quiz
12%
error
40%
[1, 5, 7]
36%
[1, 7]
12%
[1, 2, 4, 6, 7, 8]
145. What will be printed when the following code is executed?
Anonymous Quiz
35%
error
34%
[1, 5, 7]
26%
[1, 7]
5%
[1, 2, 4, 6, 7, 8]
146. What will be printed when the following code is executed?
Anonymous Quiz
13%
['Twelve:', 'Eighty nine:']
49%
['12', '89']
36%
['Twelve:', ' Eighty nine:', '.']
2%
['Twelve', 'Eighty nine']
147. What will be printed when the following code is executed?
Anonymous Quiz
43%
["Don’t", "you", "know", "that", "there", "ain’t", "no", "mountain", "high", "enough."]
24%
'Don’t', 'you', 'know', 'that', 'there', 'ain’t', 'no', 'mountain', 'high', 'enough. '
14%
['Don’t', 'you', 'know', 'that', 'there', 'ain’t', 'no', 'mountain', 'high', 'enough.']
19%
[“Don’t, you, know, that, there, ain’t, no, mountain, high, enough.”]
148. What will be printed when the following code is executed?
Anonymous Quiz
18%
False
21%
error
45%
TrueTrueTrueTrueTrueFalseFalseFalseFalseFalseTrueTrueTrueTrueTrueTrueFalseFalseFalseFalse
16%
11111000001111110000
WEAKLY PYTHON MILLIONAIRE DIGEST 19.12-25.12.2022
~ Topic #16 “Topics Recap”
~ Average accuracy 28%
~ Average involvement 40 people (15%)
N.B.
🐍 Be careful while using remove() in your code. After executing the x.remove(i) method, the array size changes. The loop jumps over the value and not all the elements you need will be deleted
🐍 The re.split() method splits the string by the occurrences of the regex pattern and returns a list of the resulting substrings, similarly to the built-in split() function
🐍By multiplying a boolean value by number we receive a number - 1 or 0
Many thanks to everyone for the active participation in solving problems!
🎄We wish you all happy holidays!
~ Topic #16 “Topics Recap”
~ Average accuracy 28%
~ Average involvement 40 people (15%)
N.B.
🐍 Be careful while using remove() in your code. After executing the x.remove(i) method, the array size changes. The loop jumps over the value and not all the elements you need will be deleted
🐍 The re.split() method splits the string by the occurrences of the regex pattern and returns a list of the resulting substrings, similarly to the built-in split() function
🐍By multiplying a boolean value by number we receive a number - 1 or 0
Many thanks to everyone for the active participation in solving problems!
🎄We wish you all happy holidays!
149. What will be printed when the following code is executed?
Anonymous Quiz
21%
true
21%
false
44%
error
15%
unsubscribe
150. What will be printed when the following code is executed?
Anonymous Quiz
2%
Hi it is Python millionare
92%
HiHi it is Python millionare
1%
Hi it is Python millionare
4%
HiHi Python millionare it is
151. What will be printed when the following code is executed?
Anonymous Quiz
5%
43
14%
TypeError
15%
2023
66%
20!23