HW8.1, KeyError 'B'

#1

For those who run into this error, realize that char_to_idx keys only takes in lowercase characters and the space character. The solution is to change the prefix to all lowercase, i.e. 'but brutus…"

1 Like
#2

small case should be fine