diff --git a/mixedfractions.py b/mixedfractions.py new file mode 100644 index 0000000..b76bdb8 --- /dev/null +++ b/mixedfractions.py @@ -0,0 +1,5 @@ +n, d = map(int, input().split()) + +while not (n == d == 0): + print(f"{n // d} {n % d} / {d}") + n, d = map(int, input().split())