A decorator with settings: retry(times)

Your task In the code box, write a decorator retry(times): the wrapped function is called up to times times until it doesn't raise, and gives back its answer. If every try fails, the last error goes up to the caller. Then press Run my code.

Getting the editor ready