Last active
May 28, 2018 14:17
-
-
Save arukavina/118f6e219b518e9d6d6f05d968431e27 to your computer and use it in GitHub Desktop.
How to make friends
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
amigos = set() | |
contacts = dict(adri=['thijn', 'jonas'], | |
flor=['random1', 'random2'], | |
gerard=['random1', 'random2'], | |
rami=['random1', 'random2'], | |
agustin=['random1', 'random2'], | |
andrei=['robertito el de c5n', 'random2'], | |
) | |
for member in contacts.keys(): | |
print('{} sharing {} contacts'.format(member, len(contacts[member]))) | |
for contact in contacts[member]: | |
print(contact) | |
amigos.add(contact) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment