🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A..pt
  2. B..py
  3. C..pyt
  4. 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 →