France has endured extreme weather the past few days, with record rainfall and multiple bolts of lightning hitting the country.