IDNLearn.com offers a user-friendly platform for finding and sharing answers. Discover in-depth and reliable answers to all your questions from our knowledgeable community members who are always ready to assist.
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.