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
The following was a government response to the growing interest in socialist and communist movements.
Alenkasestr [34]

Answer:

A. LaborUnions, Legislation on labor and work reform

Explanation:

Unionized labor often improves the wages corporations pay across the committee to their workers. ... Collective agreement arrangements generate significant advantages for workers who may not be interested in raising production because they earn a higher salary.

The Labor Reform Act of 1977 was a recommended United States Act of Congress on US labor legislation that never came into dominance. It would have modified the labor law to bring it in line with modern advancements and global standards, by eliminating obstacles from employers to unions structure in the workplace.

6 0
2 years ago
"gross domestic product increases during periods of economic growth" is an example of a?
Natali5045456 [20]

Answer:

d. positive microeconomic statement

8 0
3 years ago
How often are paycheck stubs provided?
GaryK [48]

Answer:

Every pay period

Explanation:

Because i got it right

8 0
3 years ago
Bombing Japan (United States)<br><br> What were the effects of bombing cities?
kvv77 [185]

Answer:

PLEASE MARK BRAINLIEST

Explanation:

Aside from physical injury and damage, the most significant effect of the atomic bombs was the sheer terror which it struck into the peoples of the bombed cities.

6 0
2 years ago
Read 2 more answers
Attribution affects the way an individual feels about a situation or others by the process of
vodomira [7]

Answer:

the correct answer would be c

Explanation:

4 0
2 years ago
Read 2 more answers
Other questions:
  • When you look at the night sky, sometimes there is a full moon and sometimes the moon looks like it’s barely there. why does thi
    9·2 answers
  • Amanda, a forensics expert, has been called in to examine blood samples and prints found at a crime scene. She conducts a thorou
    11·2 answers
  • What does the word collaboration mean? Use the word in an example showing good leadership skills.
    8·1 answer
  • Which business is an example of a lodging property?
    8·1 answer
  • Identify the type of facial expression.
    7·1 answer
  • Why is it important that goals be measurable?
    15·2 answers
  • 20 points! write a 100-150 word annotated bibliography using this source: https://go.gale.com/ps/retrieve.do?tabID=Reference&amp
    13·1 answer
  • Need help on Phyllis Schlafly and her role in the ERA movement.
    13·1 answer
  • What percentage of coral reefs have scientists estimated to be completely gone?
    14·2 answers
  • 3. Ano ang Pilipinisasyon?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!