You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the language comparison section of src/page-template.html, you say that Python does not have type annotations. It does, using similar syntax to pyret in that example:
defsquare(n : int) ->int:
returnn*n
These arenʼt automatically checked and verified by default, but they can be used by various tools (see PEP484 and PEP526).
Probably a better example should be chosen for this (JavaScript? TypeScript exists but it isnʼt the same thing).
The text was updated successfully, but these errors were encountered:
In the language comparison section of src/page-template.html, you say that Python does not have type annotations. It does, using similar syntax to pyret in that example:
These arenʼt automatically checked and verified by default, but they can be used by various tools (see PEP484 and PEP526).
Probably a better example should be chosen for this (JavaScript? TypeScript exists but it isnʼt the same thing).
The text was updated successfully, but these errors were encountered: