Header image for Quick test

Quick test

Prompt

Complete the following Python function: ```python 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 """ ```

Answer guidance

Canonical solution (function body): return len(set(string.lower()))