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
"Colonialism is morally wrong because the greater good of
yarga [219]

The theory of ethics that the person who made the statement is likely appealing is; A: Egoism

<h3>What are the terminologies in colonialism?</h3>

The given statement about colonialism is that;

Colonialism is morally wrong because the greater good of

European settlers disproportionately outweighed the greater good

of the indigenous people."

Now, this statement is from a mind that feels their interests are being taken away by European settlers and as such this kind of thinking is referred to as Egoism which is an ethical theory that treats self-interest as the foundation of morality.

Read more about Colonialism at; brainly.com/question/12217366

#SPJ1

7 0
2 years ago
Read 2 more answers
1 sino angpambansang kamao?<br><br>2 sino ang pumatay kay lapu ?​
german

Answer:

1. Manny Pacquiao

2. defeated the forces of Portuguese explorer Ferdinand Magellan and his native allies Rajah Humabon and Datu Zula.

Explanation:

hope it can help.... ☺️☺️

7 0
3 years ago
True or False: Wait for oil to cool before straining or carrying it
Oksanka [162]
True. Is the answer
8 0
3 years ago
Read 2 more answers
What barrier to trade separated the empires of Ghana and Mali from the trading center of Egypt?
Korolek [52]
<span>The Sahara desert separated the empires of Ghana and Mali from the trading center of Egypt.</span>
6 0
3 years ago
Read 2 more answers
Ozone is formed when _______
Alexeev081 [22]

Ozone is formed when an individual oxygen atom combines with an oxygen molecule.

8 0
4 years ago
Read 2 more answers
Other questions:
  • red sleeveless dress has been a fast seller at a clothing store. Which of these might raise the price of the dress?
    11·1 answer
  • Halp plz PPPPPLLLLLLLLLLZZZZZZZZZZZ
    7·1 answer
  • What "ADVANCED PLACEMENT" is all about ?
    6·1 answer
  • How do i stop trying to complete an assignment on brainly so i can move on to a new assignment
    7·1 answer
  • Need help with APCSP coding (for and while loops)
    12·1 answer
  • As energy flows through the different levels of food web, there is
    14·1 answer
  • How do I save something to a flashdrive on powerpoint
    8·1 answer
  • If you saw your friends email... and they didn’t know they were showing it to people... and they got mad that you read it.... ho
    9·1 answer
  • Below is an excerpt from the home loan contract Kyle signed with his bank.
    12·1 answer
  • Integral of tan(x)*ln(cos(x))
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!