Download 128/solution/_reference.py from PRHW/loom-benchmark-mbpp: direct link, hf CLI and curl.
- Browser
- Download file 160 Bytes
-
https://huggingface.co/datasets/PRHW/loom-benchmark-mbpp/resolve/main/128/solution/_reference.py
- Command line
-
hf download hf://datasets/PRHW/loom-benchmark-mbpp/128/solution/_reference.py
-
curl -L -o _reference.py https://huggingface.co/datasets/PRHW/loom-benchmark-mbpp/resolve/main/128/solution/_reference.py
160 Bytes
| def long_words(n, str): | |
| word_len = [] | |
| txt = str.split(" ") | |
| for x in txt: | |
| if len(x) > n: | |
| word_len.append(x) | |
| return word_len |