I thought I was making progress at first but I am not. The Match Case is confusing me. Based on what I read I should be matching the pattern against a case but beside Case there is ‘none’ and I am not sure what should be here.
Is this what is causing me to get the error: “NameError: name ‘probabilty_f’ is not defined”, when I think I did define probability_f correctly?