Exercise: Count unique characters
- Create file called count_unique_characters.py
- Given a string on the command line, count how many different characters it has.
python count_unique.py abcdaaa
4
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
python count_unique.py abcdaaa
4