Fix: Ensure all skills are tracked as files, not submodules
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# HumanEval/101
|
||||
# Loki Mode Multi-Agent Solution
|
||||
# Attempts: 1
|
||||
# Passed: True
|
||||
|
||||
def words_string(s):
|
||||
"""
|
||||
You will be given a string of words separated by commas or spaces. Your task is
|
||||
to split the string into words and return an array of the words.
|
||||
|
||||
For example:
|
||||
words_string("Hi, my name is John") == ["Hi", "my", "name", "is", "John"]
|
||||
words_string("One, two, three, four, five, six") == ["One", "two", "three", "four", "five", "six"]
|
||||
"""
|
||||
if not s:
|
||||
return []
|
||||
return s.replace(",", " ").split()
|
||||
Reference in New Issue
Block a user