← Quiz: Python Introduction: all 15 questions
Quiz: Python Introduction · Question 7 of 15
Which file extension do Python source files use?
Which file extension do Python source files use?
- A..pt
- B..py
- C..pyt
- D..python
Answer & explanation
Correct answer: .py
e.g. hello.py, run with python hello.py.
Can you get the rest right without peeking?
Take the timed Quiz: Python Introduction quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →