#sdpsgssolutions #addition #Starter Problems 1 # Open the input and output files. inputFile = open("addin.txt", "r") outputFile = open("addout.txt", "w") # Read the input. myInput = inputFile.read().split() x = int(myInput[0]) y = int(myInput[1]) # Calculate the answer. ans = x+y # Write the answer to the output file. outputFile.write(str(ans)+"\n") # Finally, close the input/output files. inputFile.close() outputFile.close()