Kracekumar
Kracekumar
`irb` => `http://linux.die.net/man/1/irb`
Here, the list contains float and int values. `nos: list[float] = [1, 2.0, 3.5]` should work. Quick Answer: when an argument is annotated as having type float, an argument of...
Yes, annotating with `any` isn't highly useful. So `list[float]` is better. Advanced: You can also use protocol depending on usecase.
Glad to see your question and trying out the exercise. You don't need to use `overload` for this exercise or refactor the code. While dealing with the inherited classes, most...
@J0 did you get it working with the hints from the previous comment?
This is the good solution and even my solution is exactly the same.
Thanks. I'll take a look at it. In the next round of koans addition, I'll consider adding these. Thank you for writing about these and creating these fantastic libraries. 👍🏾
I guess the indentation is causing the issue(in the original file). The mypy is in strict mode which uses `user` as variable `User` and the line `new_user: Optional[User] = User.get_user(name="Guido")`...
No. Since the command is run from the top-level, the mypy.ini in the top-level directory contains the plugins - https://github.com/kracekumar/python-typing-koans/blob/main/mypy.ini. That's just kept for users to notice where to keep...
Thank you. In any case, you'd like to get feedback on a certain solution, please feel free to ask here or in a separate issue for each koan, I'd answer...