#Example modified from www.holypython.com
def percentage(x,y):
    percentage_as_a_percent = profit / Salesint
    percentage_as_a_percent_numero = percentage_as_a_percent *100
    print(percentage_as_a_percent_numero)

Sales = input("Please enter the sales:\n")
Salesint = int(Sales)
Cost = input("How much did you buy the products for?\n")
Costint = int(Cost)
profit =int(Salesint - Costint)

percentage(profit, Costint)







