10
Last seen 4 years ago
Member for 7 years, 7 months, 21 days
Class SelfLearn.tw
I didn't know that you can place None when slicing! Thanks :)
More
Thought of using recursion but couldn't make it as simple as that. This is great:)
More
Hi! I'd like to ask what does '*' in line 20 mean?
For the following code,
letter_friends = Friends(({"a", "b"}, {"b", "c"}, {"c", "a"}, {"a", "c"}))
print(letter_friends.names())
In line 20, it returns a set of items: {'b', 'c', 'a'}.
return set().union(*self.connections)
I tried t
More
Concept of phase 0 & 1 is close to my solution, but I couldn't come up with phase 3 & 4 and my solution became pretty ugly. I'd say phase 3 & 4 is creative.
Thank you for sharing!
More