4 ms·
Very cool OP! Just a suggestion. I would like to always have the option to see the solution link, or at least, once I pass print what was your expected solution
by HNArg024 3y ago
Very cool OP! Just a suggestion. I would like to always have the option to see the solution link, or at least, once I pass print what was your expected solution.
Like, for the optional challenge I wrote foo(x: Optional[int] = None) and it passed but your solution was simpler with x: int|None = 0
- laike9m 3y agoAs long as it passed, it's considered a valid solution. The provided solution is only for reference. I like the proposal, I can change it to showing the solution link once user has run it.