1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
allsm [11]
2 years ago
9

8.4.11: Take a Thing Out, Sort It and Reverse It

Advanced Placement (AP)
1 answer:
Tom [10]2 years ago
6 0

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

You might be interested in
Susan was cleaning up after her party, and she had to dispose of ten items. How many will likely end up in a landfill?
Simora [160]

Answer:

  1. seven...................................................
5 0
3 years ago
A student surveyed 226 classmates to see if they owned a dog or cat. There are 131 students who own a dog and 85 who own a cat.
Verizon [17]
C) 85
B) 46
D) 131
All you have to do it plug in the cats owned for c and dogs owned for d and then subtract the two for b. Hope that helps!
3 0
3 years ago
Which of the following is a renewable resource?
aleksandr82 [10.1K]
This is ap? Wind energy
3 0
3 years ago
Read 2 more answers
A vehicles headlights should be utilized to ensure the safety of the driver
Svetach [21]

Answer: All of the above

Explanation:

The function of the vehicles headlights is to illuminate the roadway and ensure facilitate safe driving.

The headlights should be used during hours of darkness, when the driver can't see clearly, during bad weather conditions and for every other conditions whereby the road isn't visible enough.

Therefore, the correct option is "All of the above".

7 0
3 years ago
Last month, he sold 50 chickens and 30 ducks for \$550
olasank [31]

Answer:

Answer:

Cost of one (chicken) =  $ 8

Cost of one (duck)  = $ 5

Explanation: heyy there :)

Let c be (chickens) and d be (ducks)

Given :  

50 �+ 30 � = $ 550

Dividing both sides by 10,

5 + 3 = 55 Eqn (1)

44 + 36 = $ 532

11 + 9 = 133 Eqn (2)

Multiply Eqn (1) by 3 to eliminate y term when subtraing Eqn (1) from (2).

Then a Eqn (1) becomes, 15 + 9 = 165 Eqn (3)

Subtracting Eqn (2) from (3),

(15 - 11) = (165 - 133)

4 = 32 or = $ 8.

Substituting value of in Eqn (1),

(5 * 8) + 3 = 55

3 = 55 - 40 = 15

= 15 / 3 = $ 5

8 0
3 years ago
Other questions:
  • Lighting is not really a large concern for most wedding photographers.
    7·1 answer
  • Whats 9 plus ten?√√√⇒
    5·2 answers
  • You are driving on a 2 lane highway and are passing a large truck if the driver of the truck blinks his lights it means
    7·1 answer
  • How do you simplify this using trig identities
    6·1 answer
  • What organism is the main producer in freshwater ecosystems? A) phytoplankton B) zooplankton C) anaerobic bacteria D) freshwater
    13·1 answer
  • Your best friend’s grandmother died of a heart attack about 2 months ago and now she is worried about her mother’s health. Educa
    14·1 answer
  • Katangian ng medieval system
    5·1 answer
  • _____, a philosopher, argued for an authoritarian form of government in "The Leviathan."
    14·1 answer
  • For which of the following contents of myList does the procedure NOT return the intended result?
    10·1 answer
  • Ano ano ang mga kaisipang asyno ang ang umusbong ng isang pinuno pang bahagi ng asya<br> .
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!