Fix: Ensure all skills are tracked as files, not submodules
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# HumanEval/16
|
||||
# Loki Mode Multi-Agent Solution
|
||||
# Attempts: 1
|
||||
# Passed: True
|
||||
|
||||
def count_distinct_characters(string: str) -> int:
|
||||
""" Given a string, find out how many distinct characters (regardless of case) does it consist of
|
||||
>>> count_distinct_characters('xyzXYZ')
|
||||
3
|
||||
>>> count_distinct_characters('Jerry')
|
||||
4
|
||||
"""
|
||||
return len(set(string.lower()))
|
||||
Reference in New Issue
Block a user