Translation:I have a friend whose father is a teacher.
This is confusing. I remember that for professions the article can be omitted, but who the heck is supposed to know when it's correct not to use the article and when it's necessary? The algorithm of duo is something very peculiar. I wrote "I have a friend whose father is teacher." Marked as wrong. A couple of lessons back a similar sentence was perfectly OK.