Start learning →

Python source code files are saved with which extension?

A.pe
B.py
C.pi
D.pa
Answer & Solution
Correct answer: B. .py
1. A script must be recognisable as Python on disk. 2. The file name carries a specific ending. 3. Python scripts are saved as files where the file name has extension.py. 4. So the answer is.py. _Source: syllabus Computer Science, Ch 5 'Getting Started with Python'_
Practise this question with Quill — BCA →

Keep practising Python Programming

Browse all Python Programming questions for BCA, or explore more Computer Science topics.

Start a Python Programming lesson →
Related questions