In supervised learning, how does the algorithm know the right answer?

We tell the algorithm what the right answer looks likeThe algorithm figures out the right answer by itself

Super!

In supervised learning, we have to tell the algorithm what the right answer is.