This document contains code for two Python programs. The first program calculates the discount amount and percentage given the marked and sold prices of an item. The second program determines if there is a profit, loss, or neither based on comparing the cost and sale prices of an item. It prints the corresponding message.