-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lecture "Organising information: unordered structures", exercise 1 #22
Comments
my_set = {'Bilbo', 'Frodo', 'Sam', 'Pippin', 'Merry'} |
my_first_set = {'Bilbo', 'Frodo', 'Sam', 'Pippin', 'Merry'} |
my_set = {"Bilbo", "Frodo", "Sam", "Pippin", "Merry"} |
mySet = {"Bilbo", "Frodo", "Sam", "Pippin", "Merry"} |
otherwise: |
Either
or |
|
my_set = {"Bilbo", "Frodo", "Sam", "Pippin", "Merry"} |
A shorter way is the line |
|
|
|
|
|
''' |
Write a code in Python to create a set of the following elements:
"Bilbo"
,"Frodo"
,"Sam"
,"Pippin"
,"Merry"
.The text was updated successfully, but these errors were encountered: