Home
Press ? for keyboard navigation
❮
Exercise: Number guessing game
Exercise: Convert for-loop to while-loop
❯
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
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)