Use the correct method to add multiple items (more_fruits
) to the fruits
set.
fruits = {"apple",
"banana",
"cherry"}
more_fruits = ["orange",
"mango",
"grapes"]
@(26)
fruits = {"apple",
"banana",
"cherry"}
more_fruits = ["orange",
"mango",
"grapes"]
fruits.update(more_fruits)