@SOC,
@Scarecrow - I always thought this movie "error" was meant to show that simply earning a diploma does not make you smart. Also, this is all Dorothy's dream so it might reflect her incorrect memory of this theorem.
Alternatively, maybe geometry works differently in Oz?
Either way, it's unlikely that the writers would have made such an obvious mistake. (not just the wrong kind of triangle but adding up the square roots) And even if the writers made the error it probably would have been caught by someone during script revisions, filming, editing, etc.
Just for fun, here's a clip where Homer (The Simpsons) uses this quote:
Okay, sorry for the digression! Back to easy/minimal exercises for folks who have ME/CFS,