16 lines
318 B
Python
16 lines
318 B
Python
# HumanEval/28
|
|
# Loki Mode Multi-Agent Solution
|
|
# Attempts: 1
|
|
# Passed: True
|
|
|
|
from typing import List
|
|
|
|
|
|
def concatenate(strings: List[str]) -> str:
|
|
""" Concatenate list of strings into a single string
|
|
>>> concatenate([])
|
|
''
|
|
>>> concatenate(['a', 'b', 'c'])
|
|
'abc'
|
|
"""
|
|
return ''.join(strings) |