• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

Python Sets Quiz

Question 11

Question 11: What is the output of the following program? Python3
set1 = set([ 4, 5, (6, 7)]) 
set1.update([10, 11]) 

print(set1) 
  • {4, 5, 6, 7, 10, 11}
  • {4, 5, 10, 11}
  • {4, 5, (6, 7), 10, 11}
  • None

There are 11 questions to complete.

Last Updated :
Take a part in the ongoing discussion