Source code for AutomateTheBoringStuff.Ch10.P7_buggyAddingProgram

"""Buggy adding program

This program adds three user inputted numbers and displays the sum.

Note:
    May not work as expected.
"""


[docs]def main(): print("Enter the first number to add:") first = input() print("Enter the second number to add:") second = input() print("Enter the third number to add:") third = input() print("The sum is " + first + second + third)
if __name__ == '__main__': main()