Nov-03-2020, 07:40 PM
(Nov-03-2020, 07:11 PM)deanhystad Wrote: Does this work?Thanks for the suggestion. I was thinking that too. But unfortunately I should not modify anything else other than joint_probability , update , and normalize function.
people = ['me', 'you', 'him', 'her', 'they'] for person in people: print(f" {person}:")A syntax error may have nothing to do with the line that gets flagged. It could be an error that started some line above but only became noticeable at the reported line.