What does Scout learn from the court scene in To Kill a Mockingbird?
Scout learns a lot of things that, ultimately, change her vision of Maycomb as a community in which she once felt safe and welcome.
First, she noticed the definite racial division, where the blacks sat separate from the whites in a courtoom in which justice is supposed to be impartial and blind. Second, she had already a taste of the tension and hatred people felt against Atticus for accepting this case, and for Tom Robinson. Third, she noticed that her father had presented a clear case of an innocent man with all the proof and sincerity, yet, even with the proof right in front of them, the witnesses and the jury paid no attention all for the sake of continuing with the mode of life that was typical of Macomb.
Hence, Scout learned that Maycomb was really a very divided, corrosive, and unfair place to live. Once she had felt happy there, and Maycomb was home to her. Now it all changed. Her father and her family are hated for being fair, and fairness is not a norm there. Basically, Scout learned what Maycomb was really all about.