Once, in a remote part of Italy, I was stuck with a 2-string guitar before a performance. I accepted the challenge and wrote a piece that went on to receive international recognition across several news sites.
I learned two things from this experience:
Creativity thrives under pressure.
Always carry spare strings .