K Kim Trang New member Sep 20, 2021 #1 What will be the output of the following Python code? Code: a={1,2,3} b={1,2,3} c=a.issubset(b) print(c) A. True B. Error, no method called issubset() exists C. Syntax error for issubset() method D. False
What will be the output of the following Python code? Code: a={1,2,3} b={1,2,3} c=a.issubset(b) print(c) A. True B. Error, no method called issubset() exists C. Syntax error for issubset() method D. False
L Lượng Tiger New member Sep 20, 2021 #2 Answer: a Explanation: The method issubset() returns True if b is a proper subset of a. Upvote 0 Downvote