Q. What keyword is used in Python to raise exceptions?
β
Correct Answer: (A)
raise
Dear candidates you will find MCQ questions of Python here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
s1 = {1, 2, 3, 4, 5}
s2 = {2, 4, 6}
print(s1 ^ s2)
a = [1, 2, 3, 4] b = [3, 4, 5, 6] c = [x for x in a if x not in b] print(c)
a = [[], "abc", [0], 1, 0] print(list(filter(bool, a)))