How to execute module content as the __main__ module? 🖥
For example, to run code in doctest module 📄
For example, to run code in doctest module 📄
Anonymous Quiz
9%
It is not possible.
39%
python <module-name>
14%
<module-name>
37%
python -m <module-name>
What should be written instead of EXPRESSION?
Anonymous Quiz
18%
(k, k is None)
37%
(k is not None, k)
22%
(k is None, k)
17%
k
6%
-k
Have you already subscribed our instagram? 🔗
Solve quizzes in Instagram Stories 📝
⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇
instagram.com/pythonjuniorschool/
Solve quizzes in Instagram Stories 📝
⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇
instagram.com/pythonjuniorschool/
What would be printed?
Anonymous Quiz
12%
SQL
21%
{'name': 'Python'}
31%
Python
8%
name
28%
KeyError
My new account would be really interesting for software/system/computer/data engineers.
How to call @DECORATOR properly?
Anonymous Quiz
11%
@setter
23%
@property.setter
21%
@name
17%
@name.setter
29%
@property
question_1, question_2
Anonymous Quiz
35%
False, False
27%
False, True
23%
True, False
16%
True, True