Created
July 15, 2024 09:32
-
-
Save pschanely/4cb4eb2bcc4fb1f6d8bdc5178a96aebe to your computer and use it in GitHub Desktop.
Shared via CrossHair Playground
This file contains 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
from fractions import Fraction | |
def test(n1: int, n2: int) -> None: | |
''' | |
post: True | |
''' | |
assert n2 > 0 | |
print(Fraction(n1, n2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment