Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
i knew i wasnt experienced enough to come up with a smallest sol so i thought of comming up with the biggest.it turns out i did neither of it lol.great job you nerd guys.
This comment is hidden because it contains spoiler information about the solution
The array of IDs may have duplicates but don't need to find or remove them.
so, to make the IDs unique without removing or finding them, I passed the arrays to the set
This comment is hidden because it contains spoiler information about the solution
thank you 👍.it was really useful
They iterate lst, not x, it's called list comprehension, you can read more here: https://www.programiz.com/python-programming/list-comprehension
Edit: didn't mean to post this
This comment is hidden because it contains spoiler information about the solution
Read the error message you get:
TypeError: 'int' object is not iterable
x is an int, you can't make a list of it. Even if you could, it would return a list of the first number.
This comment is hidden because it contains spoiler information about the solution