''' Purpose: total a user-supplied list of numbers. ''' # get the input reply = input( 'Enter a list of numbers: ' ) # convert input into a list numeric_strings = reply.split() # convert numeric strings to numbers # total the numbers # print the total