Python Quiz
486 subscribers
867 photos
727 links
🎓 Python-викторины для программистов.
Каждый день новая задача, разбор и неожиданные фишки языка.
Download Telegram
👍1
What is the output of the following code?
Anonymous Quiz
78%
10, 11, 12, 13, 14,
22%
10, 11, 12, 13, 14, 15,
What is the output of this code?
Anonymous Quiz
27%
[1j,4,5]
11%
[5,4,1j]
43%
TypeError
18%
[4,5,1j]
What is the output of this code?
Anonymous Quiz
63%
1
11%
2
14%
4
8%
16
4%
256
What is the output of this code?
Anonymous Quiz
77%
KeyError: ‘age’
23%
None
What is the output of the following string comparison
Anonymous Quiz
19%
False; True
43%
True; False
38%
False; False
What is the output of the following tuple operation?
Anonymous Quiz
50%
(100, 200, 400, 500)
18%
(100, 300, 400, 500)
32%
AttributeError
What is the output of this code?
Anonymous Quiz
19%
101
18%
99
28%
None of the above, this is an infinite loop
35%
100
What is the output of the following displayPerson() function call
Anonymous Quiz
37%
TypeError
47%
Emma; 25
16%
name; age