1. Home
  2. Data Science
  3. Python
  4. Which Python version introduced the match statement?

Added 25 Nov 2026

Which Python version introduced the match statement?

  1. 3.8
  2. 3.6
  3. 3.10 Correct answer
  4. 3.12

Correct answer

C. 3.10

MCQSEXAM

Explanation

Structural pattern matching (PEP 634) was added in Python 3.10.

Reference

Asked in: Python Interview Basics

https://docs.python.org/3/tutorial/introduction.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs