Other financial discussions

if I put $10,000 in a traditional IRA (2019) and pay the 6% penalty on the excess of $3500 - is the penalty removed if I contribute $3000 or less in 2020 therefore only donating no more than the maximum allowable amount over a 2 year period? Thanks