Python files have the extension _______.
- .code
- .py
- .script
- .txt
Python files typically have the extension '.py'. It's the standard file extension for Python source code files.
Loading...
Related Quiz
- What is the primary reason to use method overriding in object-oriented programming?
- The ____ decorator is used to convert a function into a static method.
- How would you define a class variable that is shared among all instances of a class in Python?
- How can you dynamically create a new type (class) at runtime in Python?
- In scenarios where JSON data keys are not simple strings, the json module's _______ argument can be utilized to handle non-string keys.