Write most_common_char(s) that returns the character that appears most often, ignoring spaces. If there is a tie, return the one that comes first alphabetically.
most_common_char('data analyst')
→ 'a'most_common_char('bbaa')
→ 'a'Submit runs 5 tests, including hidden edge cases.
Run your code to see the output here.