def show_heading(heading):
    '''Displays headings.

    Prints a heading.
    Underlines the heading.'''
    print heading
    underline = ''
    for line in range(len(heading)):
        underline += '-'
    print underline
Displays headings.

    Prints a heading.
    Underlines the heading.
recipes/Python/456374_Crypt/recipe-456374.py