Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
adding multiple elements to a set python
Nam Nguyen
Programming language:
Python
2021-05-22 21:19:57
0
Q:
adding multiple elements to a set python
Dominika
Code:
Python
2021-03-20 01:19:15
thisset = {"apple", "banana", "cherry"} thisset.update(["orange", "mango", "grapes"]) print(thisset)
0
Tags
python
multiple
element
set
Related
difference of two set in python
how to assign a value to multiple variables in python
how to add 2 variables in python
add 2 numbers in python
how to create multiple variables in a loop python
python add elements of two lists together
python how to add elements to a set
python multiply 2 variables
same elements of two sets in python
python append multiple values
declare multiple variables at once python
add two list in python
adding two numbers in python
multiple variables in for loop python
python add all values of another list
how to add all values in a list python without using sum function
New to Communities?
Join the community