Explore topic-wise MCQs in Python.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.

1.

[]

A. [‘3’]
B. Error
C. [‘trees’]
Answer» D.
2.

Which of the following statements regarding the output of the function re.match is incorrect?

A. ‘pq*’ will match ‘pq’
B. ‘pq?’ matches ‘p’
C. ‘p{4}, q’ does not match ‘pppq’
D. ‘pq+’ matches ‘p’
Answer» E.