Explore topic-wise MCQs in Python Question and Answers.

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

1.

Suppose there is a list such that: l=[2,3,4]. If we want to print this list in reverse order, which of the following methods should be used?

A. reverse(l)
B. list(reverse[(l)])
C. reversed(l)
D. list(reversed(l))
Answer» E.