Python Millionare
1.02K subscribers
477 photos
1 link
Small tasks, four answers
Download Telegram
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!
149. What will be printed when the following code is executed?
Anonymous Quiz
21%
true
21%
false
44%
error
15%
unsubscribe
151. What will be printed when the following code is executed?
Anonymous Quiz
5%
43
14%
TypeError
15%
2023
66%
20!23
152. What will be printed when the following code is executed?
Anonymous Quiz
4%
1-1-1-
15%
1-1-1
19%
5-1.05-5.26-
62%
5-1-5
153. What will be printed when the following code is executed?
Anonymous Quiz
13%
128
46%
200.0
32%
1964162
10%
222.3
154. What will be printed when the following code is executed?
Anonymous Quiz
2%
cha slaaay!
47%
cha cha cha ,slaaay!
37%
cha ,slaaay!
14%
cha slaaay!