Given a string s, write a function to count the number of unique characters in it. The function should ignore spaces and consider uppercase and lowercase letters as the same character.
Example 1:
Input: s = 'Hello World'
Output: 10
Explanation: The unique characters are 'H', 'e', 'l', 'o', ' ', 'W', 'r', 'd'. Count = 10.
Example 2:
Input: s = 'Programming'
Output: 8
Explanation: The unique characters are 'P', 'r', 'o', 'g', 'a', 'm', 'i', 'n'. Count = 8.
1 <= s.length <= 100s consists of printable ASCII characters.s = 'Hello World'Output10WhyIgnoring spaces and treating uppercase/lowercase as the same, the unique characters are counted.s = 'Programming'Output8WhyThe unique characters are counted as 'P', 'r', 'o', 'g', 'a', 'm', 'i', 'n'.1 <= s.length <= 100s consists of printable ASCII charactersdef count_unique_characters(s):