A predefined Python variable that stores the current module name is called:
- __modname__
- __mod__
- __module__
- __name__
Explanation: The __name__ variable (two underscores before and after) is a special Python variable. When a module is imported, it will contain the module’s filename.
More Questions: Python Essentials 2 – Module 1 Test
Please login or Register to submit your answer