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]
1 year ago
9

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

Advanced Placement (AP)
1 answer:
Tom [10]1 year 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
Please help with any number
Slav-nsk [51]
9. A person who does not stay long in the same place.<span>
10. The supply of water to land or crops to help growth, typically done by channels.
</span><span>12. A country between two rivers</span>
8 0
2 years ago
Read 2 more answers
Select the correct answer.
earnstyle [38]

cant be A because that’s the number one password everyone would guess easily. Can’t be B, because it’s a simple password and most of the times it asks to put a symbol in your password, especially when it holds personal things, can’t be D because it has no numbers nor symbols. the answer is C, it has a capital letter, a symbol and 3 numbers nobody would guess, because they are random

6 0
3 years ago
Vghjklsdfghjklkjhgfdsyuiiuygfd?
vodka [1.7K]
Yes i agree that is 100% correct
6 0
3 years ago
Bukod sa mga na banggit na mga salik. anong salik ang iyong maidadagan
Gekata [30.6K]

Where is your question?

Explanation:

8 0
2 years ago
Who is Alexander Hamilton.
VikaD [51]

Answer:

Alexander Hamilton was an American statesman, politician, legal scholar, military commander, lawyer, banker, and economist.

Explanation:

3 0
2 years ago
Other questions:
  • Acid rain is primarily a problem of:
    13·1 answer
  • Eliza remembers her grandfather telling the story of how he met her grandmother 50 years ago. Eliza’s grandpa has these memories
    12·2 answers
  • Virginia beach is 100 kilometers wide and 30 kilometers long. if 2 cm of rain falls on virginia beach, how many cubic meters of
    15·1 answer
  • DO YOU WANT FREE BRAINLIEST &amp; FREE 15 POINTS? ANSWER THIS CORRECTLY AND YOU SHALL RECEIVE :)
    11·2 answers
  • What makes scientific evidence "good" or "persuasive"?
    14·1 answer
  • Which one of the following conclusions is NOT supported by current biological research on schizophrenia?
    9·1 answer
  • Which of the following is the best explanation for the information shown in the graph?
    14·1 answer
  • How might the combination of self-determination, the desire for sovereignty, and the goal of establishing a nation-state re-shap
    13·1 answer
  • Which item would be considered an asset?
    5·1 answer
  • All of the following characterize women in a country with a low Gender Empowerment Measure ranking EXCEPT :
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!