scrimba
Learn Python
Sets
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Sets
Expand for more info
index.py
run
preview
console
#Sets - blazingly fast unordered Lists 
friends = ['John','Michael','Terry','Eric','Graham']
friends_tuple = ('John','Michael','Terry','Eric','Graham')

print(friends)
print(friends_tuple)


Console
"['John', 'Michael', 'Terry', 'Eric', 'Graham'] "
,
"('John', 'Michael', 'Terry', 'Eric', 'Graham') "
,
index.html
-3:22