a = your total price before the coupon and sales tax.
b = your coupon's given discount (for example, 25% off)
c = your discounted total
(a - (ab)) = c
c + (.075c) = your answer.
With some numbers plugged in:
a = 50$, b = -25%
50 - (50 x .25)
50 - 12.5 = 37.50$
37.5 + (37.5 x .075)
37.5 + 2.82* = 40.32$
So you would have to pay $40.32
Answer is e hope this helps
Hope this helps. I typed that in notes.
The remove_sort_reverse function takes a list, removes all "s" in the list elements, sorts and then reverses the remaining elements
<h3>The actual program</h3>
The program in Python, where comments are used to explain each line is as follows:
#This defines the function
def remove_sort_reverse(myList):
#This iterates through the list
for i in range(len(myList)):
#This removes all the s in the list elements
myList[i] = myList[i].replace("s","")
#This sorts and reverses the list elements
myList.sort(reverse=True)
#This returns the updated list
return(myList)
Read more about Python functions at:
https://brainly.in/question/10211834