This bit of code fetches 100 integers from an endpoint called https://example.com/integers which returns { "value": 2 } . The code makes 10 concurrent requests to the endpoint so we don't trigger a rate limit and then reports a list of which integers were even and which were odd.
How would you improve the following code? Feel free to rewrite as if this was production code. There are coding mistake and often just bad form in the code, please fix it!