Download 126/solution/_reference.py from PRHW/loom-benchmark-mbpp: direct link, hf CLI and curl.
- Browser
- Download file 139 Bytes
-
https://huggingface.co/datasets/PRHW/loom-benchmark-mbpp/resolve/main/126/solution/_reference.py
- Command line
-
hf download hf://datasets/PRHW/loom-benchmark-mbpp/126/solution/_reference.py
-
curl -L -o _reference.py https://huggingface.co/datasets/PRHW/loom-benchmark-mbpp/resolve/main/126/solution/_reference.py
139 Bytes
| def sum(a,b): | |
| sum = 0 | |
| for i in range (1,min(a,b)): | |
| if (a % i == 0 and b % i == 0): | |
| sum += i | |
| return sum |