To create a module in Python, you need to write your functions, classes, and variables in a _______ file.
- .module
- .pack
- .py
- .txt
To create a module in Python, you need to write your functions, classes, and variables in a '.py' file, which is a Python source code file.
Loading...
Related Quiz
- The process of assigning a value to a variable for the first time is called variable _______.
- When a method is decorated with @staticmethod, it cannot access or modify _______ specific data.
- Which Python feature would you use to modify the behavior of a function or method?
- How would you implement a custom loss function in a TensorFlow or PyTorch model?
- In Flask, to register a function to run before each request, you would use the ____ decorator.