Make sure your animal_list.py program prints the following things, in this order:
The list of animals 1.0
The number of animals in the list 1.0
The number of dogs in the list 1.0
The list reversed 1.0
The list sorted alphabetically 1.0
The list of animals with “bear” added to the end 1.0
The list of animals with “lion” added at the beginning 1.0
The list of animals after “elephant” is removed 1.0
The bear being removed, and the list of animals with "bear" removed 1.0
The lion being removed, and the list of animals with "lion" removed

Need the code promise brainliest plus 100 points

Answers

Answer 1

Answer:#Animal List animals = ["monkey","dog","cat","elephant","armadillo"]print("These are the animals in the:\n",animals)print("The number of animals in the list:\n", len(animals))print("The number of dogs in the list:\n",animals.count("dog"))animals.reverse()print("The list reversed:\n",animals)animals.sort()print("Here's the list sorted alphabetically:\n",animals)animals.append("bear")print("The new list of animals:\n",animals)

Explanation:


Related Questions

Other Questions
When deals with 2 cards successfully without replacement from ashuffled deck of 52 cards. Find the probability that a spade comesfirst and a red card second? Research one autosomal dominant disease, one autosomal recessivedisease, and a sex-linked disease. For each disease discuss: 1.Etiology, 2. Signs and Symptoms, 3. Diagnosis, 4. Treatment andPrevent Solve the logarithmic equation. Type just the number in the answer. If more than one answer, separate the numbers with a comma. Be sure to reject any value that is not in the domain of the original logarithmic expressions. log 5x = log(2x + 9) Question 7 Solve the logarithmic equation. Type just the number in the answer. If more than one answer, separate the numbers with a comma. Be sure to reject any value that is not in the domain of the original logarithmic expressions. -6 log3(x-3) = -24 Detail the two divisions of the autonomic nervous system anddescribe the main similarities and differences between them (34marks)(full details please) Careful Not To Round Any Intermediate Steps Less Than Six Decimal Places.) The EAR For The First Investment Choice Is ;. (Round To Three Decimal Places.) The EAR For The Second Investment Choice Is (Round To Three Decimal Places.) The EAR For The Third Investment Choice Is 6. (Round To Three Decimal Places.) Suppose you have the possibility to invest your money in a savings account that earns 6% interest compounded monthly. If you deposit $1,000 every month for 10 years, what would be the future value of this series? $163,879.35 $276,437.88 $267,501.39 $160,978.35 [12 Marks] QUESTION 4 Answer ALL the questions in this section. Question 4.1 Calculate the current rafio of al companies? (6) Question 4.2 Calculate the acid test rato of all companies? (8) 1. The complete development of chick is in a. 1920 th day 2. b. 1819th day 3. c. 1820th day 4. d. 2021 st day The temperature of the poultry house for 5 -week-old chickens raised on deep litter should be a. 3538 C b. 4050 C C. 1822 C d. 2732 C 3. AIS MVX, 6.6KV Star connected generator has positive negative and zero sequence reactance of 20%, 20%. and 10. respect vely. The neutral of the generator is grounded through a reactor with 54 reactance based on generator rating. A line to line fault occurs at the terminals of the generator when it is operating at rated voltage. Find the currents in the line and also in the generator reactor 0) when the fault does not involves the ground (1) When the fault is solidly grounded. Starting a business does not necessarily mean that you must produce everything yourself. Thereare plenty of third-party vendors that can provide you with certain items that will save you timeand money. If you start a new product-based business, you will face some important decisions,whether to produce goods in-house or buy from external suppliers. In some ways, the make-or-buy decision is also the starting point for operations to influence global supply chains. Therefore,your task now is to conduct a make-or-buy analysis to identify the factors that influence a firmsdecision on this matter. Provide real-life examples to support your discussion.2. Trends in globalization continue to have an impact on businesses in every region of the world.Evaluate why the company adopts a localization strategy or a global standardization strategy.Provide real-life examples to support your discussion. Patients with posterior column lesions may experience allodynia, which causes pain when applying pressure to various musculoskeletal locations. Or is it more likely that fibromyalgia is to blame for this? How do carbamazepine and gabapentin's clinical success rates compare? How may dissociative sensory loss be detected clinically? How much urograffin is advised to take before undergoing contrast-enhanced computed tomography? When a suspected intracerebral abscess or glial tumour is present, how far in advance should this be supplied before imaging? Timer 17. Which of the following structures of the brain is NOT connected to the reticular formation? Medulla Hypothalamus Substantia niagra Cerebellum Red nucleus Unaved save > O A 600 W electric heater works with a current of 20 A. The resistance of the heater is:Select one:a)25 ohmsb)30 ohmsc)12 kohmd)1.5 ohms A 1.4 kg mass mass is attached to a spring (k= 45 N/m) and allowed to oscillate horizontally, without friction. It's initial displacement of 19cm and an initial velocity of -, 92mls. What will be the mass's maximum speed? WHY did whites consider the independent Plains Peoples a"problem?" What was the American government's solution to this"problem?" Application ( 16 marks) 1. As a science project, Anwar monitored the content of carbon monoxide outside of his house over several days. He found that the data modeled a sinusoidal function, and [5] that it reached a maximum of about 30 ppm (parts per million) at 6:00pm and a minimum of 100pm at 6:00am. Assumina midniaht is t=0. write an eauation for the concentration of carbon monoxide. C (in DDm). as a function of time. t (in hours). An experiment has been conducted for four treatments with eight blocks. Complete the following analysis of variance table. Source-of-VariationSum-of-SquareDegrees-of-freedomMean-squareFTreatment1,100. . . Blocks600. . Error. . . Total2,300. Use =. 05 to test for any significant differences. - The p-value _____- What is your conclusion? At what temperature does 1.00 atm of He gas have the same density as 1.00 atm of Ne has at 273 K "i. Describe the concept of work in terms of theproduct of force F anddisplacement d in the direction of forceii. Define energyiii. Explain kinetic energyiv. Explain the difference between potential and kinetic energy Find the energy (in eV) of a photon with a frequency of 1.8 x 10^16 Hz.