

MCQOPTIONS
Saved Bookmarks
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. |
Suppose listExample is [ h , e , l , l , o ], what is len(listExample)? |
A. | 5 |
B. | 4 |
C. | None |
D. | Error |
Answer» B. 4 | |
2. |
What is the output when we execute list( hello )? |
A. | [ h , e , l , l , o ] |
B. | [ hello ] |
C. | [ llo ] |
D. | [ olleh ] |
Answer» B. [ hello ] | |