For all your questions, big or small, IDNLearn.com has the answers you need. Discover reliable and timely information on any topic from our network of knowledgeable professionals.
sales = float(input("Enter monthly sales amount: $"))
commission = 0.05
if sales> 500000:
commission = 0.1
print("You earned: $"+str(sales*commission))
I wrote my code in python 3.8. I hope this helps.