News for hackers. Stuff that matters.
Re:Show HN: Python-Type-Challenges, master Python typing wit... by hsfzxjy on Wednesday November 29, 2023 @10:22AM (#38460488)
I passed the test with `object` :)
Re:Show HN: Python-Type-Challenges, master Python typing wit... by quietbritishjim on Wednesday November 29, 2023 @11:08AM (#38461180)
I literally didn't change the code, so there was no annotation at all, and it still passed.
Re:Show HN: Python-Type-Challenges, master Python typing wit... by crunchbang-excl on Wednesday November 29, 2023 @11:20AM (#38461369)
I thought that one was an example where you don't have to do anything.

I just went back to check and I saw that you are supposed to make some changes, which are shown in the solution, even though they are unnecessary to pass the tests.

Re:Show HN: Python-Type-Challenges, master Python typing wit... by laike9m on Wednesday November 29, 2023 @11:45AM (#38461714)
The "any" challenge is special, it's the only one where you don't need to make any changes :)