python improper fraction to mixed number code example
Example: Mixed Fractions in python
num = int(input('Type numerator'))
dem = int(input('Type denominator'))
a = num // dem
b = num % dem
print 'The mixed number is {} and {}/{}'.format(a, b, dem)