You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just tried executing the code above and the execution worked, but one test is failing.
Remember that you need to keep the original list ordering. When you are converting the list into a set() you are loosing ordering because sets are unordered collections.
I have the following code:
This seems to work when I test in IDLE/Python shell on my own computer, but fails the test on submission. What am I missing?
The text was updated successfully, but these errors were encountered: