The Goodies? No... I don't think it was a sketch.
In fact, I'm almost positive.
Although, it was a british TV show that started about 6 months after Monty Python and aired until 1981. This may be what you are thinking of
"Nobody Expects the Spanish Inquistion"