a=int(input('purchase amount='))
print(' ')
b=int(input('amount costed for repairs='))
print(' ')
c=int(input('sold amount'))
print(' ')
d=(c-(a+b))/100
print('profit %:')
print(' ')
print(d)
print(' ')
To embed this project on your website, copy the following code and paste it into your website's HTML: