Menu
×
×
Correct!

Exercise:

Use the correct method to add multiple items (more_fruits) to the fruits set.

fruits = {"apple",
"banana",
"cherry"} more_fruits = ["orange",
"mango",
"grapes"] fruits.update(more_fruits)

Not Correct

Click here to try again.

Correct!

Next ❯
fruits = {"apple", 
"banana",
"cherry"} more_fruits = ["orange",
"mango",
"grapes"]

  
  
  




Go to w3schools.com
Reset Score
Close This Menu

Completed 0 of 51 Exercises:

PYTHON Syntax
PYTHON Variables
PYTHON Strings
PYTHON Operators
PYTHON Lists
PYTHON Tuples
PYTHON Sets
PYTHON Dictionaries
PYTHON If...Else
PYTHON Loops
PYTHON Functions





×

Reset the Score?

This will reset the score of ALL 51 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 51 PYTHON exercises.

Share your score on facebook: