Q. Which of the following is the correct file extension for Python files?

  • (A) .pyth
  • (B) .pt
  • (C) .py
  • (D) .p
πŸ’¬ Discuss
βœ… Correct Answer: (C) .py
Explanation: Python files are saved with the `.py` extension. Other extensions like `.pt` or `.p` are not valid for Python source code.
Explanation by: Rati Dubey
Python files are saved with the `.py` extension. Other extensions like `.pt` or `.p` are not valid for Python source code.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
91%
Success Rate