Home » Programming Language (coding) » Python MCQs » If a={5,6,7}, what happens when a.add(5) is executed?If a={5,6,7}, what happens when a.add(5) is executed? Mr. Answer If a={5,6,7}, what happens when a.add(5) is executed? A. a={5,5,6,7}B. a={5,6,7}C. Error as there is no add function for set data typeD. Error as 5 already exists in the set Answer: B. a={5,6,7} Take Part in Discussion: Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Comment * Save my name, email, and website in this browser for the next time I comment. Solve : * 1 × 25 =