For people who don't have much experience with type hinting, the basic challenges would be a great place to start, and a hint message can be really useful for them. So I added a hint message for most of the basic challenges.
When processing basic-optional, I found that the original code does not require the user to add | None or Optional hinting, foo(x: int= 0) is sufficient. So I modified the validation code to make sure the optional hinting must be used.
For people who don't have much experience with type hinting, the basic challenges would be a great place to start, and a hint message can be really useful for them. So I added a hint message for most of the basic challenges.
When processing
basic-optional
, I found that the original code does not require the user to add| None
orOptional
hinting,foo(x: int= 0)
is sufficient. So I modified the validation code to make sure the optional hinting must be used.