ExamVeda
Login
Home
Introduction to Python
?

Which of the following is the correct extension of the Python file?

Answer & Solution
Correct Answer: Option C
The correct extension of a Python file is .py.
Python files typically have the extension ".py", which indicates that they contain Python code. When you save a Python script, you should use the ".py" extension at the end of the file name to ensure that it's recognized as a Python file by the interpreter and text editors. Using the correct file extension also helps maintain organization and clarity in your project directory.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.