Error in explaing the result of a learning concept Sets

Hi there.

Just wanted to chime in and say that
Construction exercice that explains sets has an error which might be perplexing for new users. Such as myself.

The list is unpacked and each distinct element is added.

multiple_elements_from_list = set([2, 3, 2, 3, 3, 3, 5, 7, 11, 7, 11, 13, 13])
{2, 3, 5, 7, 11}

Should add 13, because someone might get the wrong idea, since the “Duplicates are removed.” is missing. Like from the example above.

I know this seems trivial, but someone might think it is an idiomatic thing. And it could prove to be disservice later.

Also I really like exercism, but the Python track is really puzzling at times, hard to understand what is wanted from the student and what is being taught. Go and some other languges have a much more begginer friendly approach, Python track is basically a snippet of the tutorial written in a slightly more friendly way.

Python key concepts on Exercism

The critique was in the best intention I assure you. :slight_smile:
With Exercism V3 i feel like there is a goal to branch out even to advanced beginners not just hopeful polyglots.

Hi @Ico70 :wave: Welcome to the forum!

Thank you for reporting the missing element.

It’s been fixed in [Cater-Waiter and Sets]: Code Example Fixes by BethanyG · Pull Request #3453 · exercism/python · GitHub, and should be showing up on the website shortly.

Thank you BethanyG !

@Ico70 Thanks for the bug report. Interested to explore this comment more.

Taking a look at the Set documentation on that page you linked to, what tangible changes would you suggest to make it feel more friendly?

Comparing it to the intro to Sets, this feels worlds clearer and better to me, so I’m interested in why our perspectives differ! :slight_smile: