Mixed Fractions
This commit is contained in:
5
mixedfractions.py
Normal file
5
mixedfractions.py
Normal file
@@ -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())
|
||||||
Reference in New Issue
Block a user