Lsn 3: Ex8. Incorrect sample output

Bug #1658512 reported by Nick Meek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Practical Programming in Python
New
Undecided
Unassigned

Bug Description

A spurious (and deceiving) blank line in the sample output, indicated below.

8. Write reject and accept functions which can produce acceptance or rejection form letters. The signature should be in a separate function, used by both the reject and accept functions.

>>> reject("Bill")
Dear Bill
I am sorry to inform you that you do not have the job
Yours sincerely
Humphrey Hopalong

>>> reject("Amanda")
Dear Amanda
I am sorry to inform you that you do not have the job
Yours sincerely
      <<<<<This blank line shouldn't exist>>>>>>
Humphrey Hopalong

>>> accept("Vicki")
Dear Vicki
I am pleased to inform you that you have the job
Yours sincerely
Humphrey Hopalong

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.