Session 04 - Dict/Set Lab, Exceptions, and Trigrams

You could enter a default prompt here with:

def safe_input(prompt="Enter something: "):

It's not necessary, but it makes the code a little more robust.