exercise scipy