Implement a decorator that caches function results based on positional arguments.
Constraints
Example
```python
@cache_result
def add(a, b):
return a + b
print(add(2, 3)) # 5
print(add(2, 3)) # 5 (cached)
print(add.cache) # {(2, 3): 5}
```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints