DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
How to Access Items in a Set in Python
nameSet = {"John", "Jane", "Doe"} for names in nameSet: print(names) # John # Doe # Jane
Source by www.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#How
#Access
#Items
#Set
#Python
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit