Solar panels do produce electricity in cloudy weather. They don’t produce as much electricity as they do on sunny days, but they have been shown to produce 25% of what they produce on a sunny day, or 10% when it’s very cloudy.