PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#My first code doing on my own.
#I will upgrade it later on when I will learn python a bit more :)))
sell = float(input('Selling for: '))
print(sell)
cost = float(input('Bought for: '))
print(cost)
shipping = float(input('Shipping cost: '))
print(shipping)
listing_fee = 0.30 # Listing fee for ebay private account
profit = (sell - cost - shipping - listing_fee) # Profit without final fee
final_fee = (12.8 / 100) * profit # Final fee is 12.8%
print("Total profit")
print(profit - final_fee)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run