Answer:
Explanation:
def computeCommission(salesAmount):
commission=0
if salesAmount <= 50000:
commission = 5000*0.08 + (salesAmount-5000)*0.1
elif salesAmount > 50000:
commission = 5000*0.09 + (salesAmount-5000)*0.12
return commission
print("commission for 45000 : "+str(computeCommission(45000)))
print("commission for 54000 : "+str(computeCommission(54000)))
Explanation:
Most of the users uses Windows. It still holds the title as world's most used operating system.
When reading difficult content you should- Survey the chapter.
Surveying the chapter allows you to better interpret the literary text and therefore be able to answer the following questions or summarize.
Hope I helped,
-CSX :)
Answer:
It depends on the situation
import "from random import randrange"
for printing random numbers between integers "random.randrange(num1, num2"
Syntax:
"random.randrange(start, stop, step)"
Parameter Values:
start - optional - an integer defining which position to start - default = 0
stop - required - an integer defining which position to end.
step - optional - an integer define the incrementation - default = 1
Explanation:
The syntax is a bit weird but I hope I was a help
I don’t know if this supports all, but try lenntech, duckters, and I will add on later