(British, American & Australian) alsochalk something up to experience (American & Australian)
to decide that instead of being upset about something bad that you have done or that has happened, you will learn from it 'I'm so ashamed. I let him take advantage of me.' 'Don't be so hard on yourself. Just put it down to experience.'