Python Python Interview Questions for Freshers Quiz

This Python quiz collects the questions freshers hear most in their first technical interview. It checks mutable vs immutable types, lists vs tuples, is vs ==, *args and **kwargs, and a few everyday list operations.

Easy 10 questions ~5 minutes Pass at 80% Python 3.12

Choose a mode

Playing as a guest: sign in to keep your XP and streak.

Sample question

Question 1 of 10

Which of these built-in types is immutable?

Show the answer

D. tuple A tuple can't be changed after it is created. Lists, dicts and sets can all be changed in place, for example with append, d[key] = value or add.

What this quiz covers

  • Mutable vs immutable types
  • Lists vs tuples
  • is vs ==
  • *args, **kwargs and docstrings
  • if __name__ == "__main__": and dynamic typing

Questions people ask

Do I need an account?

No. Anyone can play. Sign in to keep your XP, streak, badges and history.

Which Python version?

Python 3.12. Every question about output was checked by running the code.

Can I retake it?

Yes. Your best score is kept, and the questions and answers are shuffled each time.