Created
February 15, 2026 15:26
-
-
Save mypy-play/61ece185f84541a6fd5487372091a421 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| def foo() -> None: | |
| a: float | str | |
| a = random.random() | |
| a = input() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment