39. What will be printed when the following code is executed?
Anonymous Quiz
8%
441
75%
TypeError
14%
144
3%
24
40. What will be printed when the following code is executed?
Anonymous Quiz
76%
789789789
10%
2367
10%
789 789 789
5%
error
42. What will be printed when the following code is executed?
Anonymous Quiz
19%
35
51%
TypeError
27%
SyntaxError
4%
NameError
43. What will be printed when the following code is executed?
Anonymous Quiz
8%
q c
27%
TypeError
43%
SyntaxError
22%
z a
44. What will be printed when the following code is executed?
Anonymous Quiz
17%
q c
23%
TypeError
32%
SyntaxError
28%
z a
45. What will be printed when the following code is executed?
Anonymous Quiz
72%
i
19%
t
7%
error
2%
e
WEAKLY PYTHON MILLIONAIRE DIGEST 5-11.09.2022
~ Topic #1 “Getting Started with Python Programming”
~ Average accuracy 48%
~ Average involvement 56 people (32%)
N.B.
🐍 You can't square a string or multiply two strings
🐍 When using the "+" operator with strings, concatenation occurs - combination of strings into one
🐍 TypeError occurs when the data type of objects in an operation is inappropriate
(e.g. multiplying a string to a float)
🐍 SyntaxError is a mistake in the use of the Python language (e.g. missing parenthesis)
🐍 The numbering of elements starts from 0 from left to right and from -1 from right to left
~ Topic #1 “Getting Started with Python Programming”
~ Average accuracy 48%
~ Average involvement 56 people (32%)
N.B.
🐍 You can't square a string or multiply two strings
🐍 When using the "+" operator with strings, concatenation occurs - combination of strings into one
🐍 TypeError occurs when the data type of objects in an operation is inappropriate
(e.g. multiplying a string to a float)
🐍 SyntaxError is a mistake in the use of the Python language (e.g. missing parenthesis)
🐍 The numbering of elements starts from 0 from left to right and from -1 from right to left
46. What will be printed when the following code is executed?
Anonymous Quiz
8%
6
4%
1
69%
2
19%
ValueError
47. What will be printed when the following code is executed?
Anonymous Quiz
9%
28
7%
NameError
73%
-28
11%
TypeError