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
What is the safest way to dispose of old bank account statements?
horsena [70]
The safest way to dispose of old bank account statements or anything with sensitive information on it would be to shred the documents. If you do not own a paper shredder - you can take them to your local branch of your bank and they will dispose of them properly. It is important to dispose of them properly to reduce likelihood of getting your identity stolen.
<span />
4 0
3 years ago
3 QUESTIONS FOR 40 POINTS!! Will mark brainliest!!
Ann [662]

Answer:

1.) How do solar thermal generators work?

D.) They use solar cells to covert sunlight directly into electricity

2.) Fossil fuel dependence has an impact on which of the following?

A.) the environment

3.) How much money does the United States lose each year due to the non-local resource trade deficit?

D.) 300 billion

Explanation:

In solar thermal generators. they depends solely on sun's energy for its energy generation and distribution. <em>The energy generation made use of solar cells which are cells joined together in series which helps in trapping the sun's energy and converting them into electric charges for its onward transmission to the circuit and battery leading to electricity. </em>

On the other-hand, over dependence on fossil fuel causes environmental issues like global warming due to gas flaring etc.

4 0
3 years ago
Which statement about race is false?
Alchen [17]

Answer:

E

Explanation:

All the choices are reasonable

4 0
3 years ago
Do you think that laboratory animals should be used in experiments in toxicology? Why or why not?
atroni [7]

In a way, this is a double edged sword. On one hand, the animals are needed to best test the effects, but on the other hand it can be seen as very unethical. Honestly, I don't really see a way around using the animals. Unless you get human volunteers, but there is no way to fully make them understand what they are getting themselves into which can turn unethical very, very fast. If all of a sudden one of your human volunteers decides that they do not want to be a part of the test anymore, there is noting you can do to reverse what has already been done.

8 0
3 years ago
Differences between the U.S/Canada border and U.S/Mexico border. Why do you think those borders are controlled so differently? D
Alexxx [7]

Answer:

Since I cannot see the data,  am trying my hardest. Check below for comments.

  • The Canadian border is 3 times larger, at around 5500 miles long.
  • The Southern border is more discussed. Possibly for immigration reasons. We do not have a whole lot of Canadians wanting to come here.
  • The Mexico border is more talked about in terms of guarding.
  • The Mexico bored is "highly defended"

Explanation:

5 0
3 years ago
Other questions:
  • Just need help matching ​
    5·1 answer
  • Color Number of Skittles Percent Frequency Degree green 25 25% orange 18 18% red 16 16% yellow 18 18% grape 26 26% Total 100 100
    7·1 answer
  • One of the greatest benefits of dual enrollment courses is that students can receive:
    14·2 answers
  • Create a fictitious product. Be creative — it can be anything you want, including clothing, a beverage, food, a gadget, a video
    14·1 answer
  • Read the passage, then answer the question that follows.
    9·2 answers
  • Which of the following sentences first expresses the main claim of the passage? ap English lang
    14·1 answer
  • I need help with this AP history
    11·2 answers
  • The diameter is 9in find it's circumference in terms of piπ
    7·1 answer
  • Identify and explain stimulus diffusion-
    11·1 answer
  • Hi guys, how’s it going? (:
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!