def parse_prediction()

in courses/DSL/challenge-mlprep/predict.py [0:0]


def parse_prediction(response):
    predict_prob = response.predictions[0][0]*100
    return f'There is a {predict_prob} percent chance of fraud for this transaction'