This is a huge question. Scout, Jem, and even Dill all learn so much from others. Let me give you a few examples.
First, when Scout visits Calpurnia's church, she learns about the black community. She learns that there are some black people who don't like white people, like Lula. She also learns that the black community is poor and many blacks cannot read. She also learns about Tom Robinson's plight.
Second, Scout learns of the hatred that people can have in Maycomb through the trial of Tom Robinson. She actually sees it in the mob that almost hurt her father, Atticus. She experiences it at school when her classmates mock her. In a word, she experiences racism.
Third, she also learns that she misjudges people, in particular, Boo. Boo happens to be an amazing person, a guardian angel of sorts. He saves her at the end.
If you think about these points, you will see that Scout learns from all people.