Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list, set, dict, tuple python

myset = {"apple", "banana", "cherry"}
mylist = ["dog", "cat", "humanoid"]
mydict = {'planet': 'blue', 'edges': 4, 'perimeter':15}
mytuple = ('earth', 'mars', 'mercury')
 
PREVIOUS NEXT
Tagged: #tuple #python
ADD COMMENT
Topic
Name
3+9 =