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.
40%
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)
23%
(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
22%
{'name': 'Python'}
30%
Python
9%
name
28%
KeyError
My new account would be really interesting for software/system/computer/data engineers.
question_1, question_2
Anonymous Quiz
35%
False, False
27%
False, True
23%
True, False
15%
True, True