mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
* Move regression tests to evaluation/ * use pythnon instead of docker in the script * add model para * change python to python3 * bug fix
9 lines
197 B
Python
9 lines
197 B
Python
def spongebob_case(s):
|
|
result = ''
|
|
for i, char in enumerate(s):
|
|
if i % 2 == 0:
|
|
result += char.lower()
|
|
else:
|
|
result += char.upper()
|
|
return result
|