Level exam: a cache with counters

Your task Ticket PY-220, for the engineering lead. Write a decorator memo_with_stats(func) for functions with positional arguments. The wrapper keeps each answer by its arguments, so the same arguments never run func twice, and it counts wrapper.hits (answers taken from the cache) and wrapper.misses (times func really ran). Both start at 0. In the code box, write the decorator, then press Run my code.

Getting the editor ready