InterviewSolution
Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Question 4: What is the output of the following program?set1 = {1, 2, 3}set2 = set1.add(4)print(set2)(A) {1, 2, 3, 4}(B) {1, 2, 3}(C) Invalid Syntax(D) None |
| Answer» | |