<Apti
Code
/>
Back
Question 433: Which method is used to add an element to a set?
tcs
wipro
infosys
general
aptitude
sets
python-programming
Theadd()method is used to add a single element to a set.
set.append(element)
set.insert(element)
set.add(element)
set.update(element)
Submit Answer
Show Answer
Previous
Next