1def fmod(double a, double b):
2    """
3    >>> fmod(7, 1.25)
4    0.75
5    """
6    return a % b
7