Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters "Done", "done", or "d" for the line of text

Answers

Answer 1

The program that takes in a line of text as input, and outputs that line of text in reverse is as follows:

list1 = []

x = input("input your text for it to be reverse: ")

while x != "done" and "d" and "Done":

    list1.append(x)

    x = input("input your text for it to be reverse: ")

   

for i in list1:

    print(i[::-1])

Code explanation:

The code is written in python

The first line of code, a variable is declared with an empty list.The variable x is used to store the users inputThen we use the while loop to check if the users input is any of "Done", "d" and "done." If the users input is not any of "Done", "d" and "done", we append it to the empty listWe loop through the list using a for loop to get the individual elements and finally print the reverse of each elements.

learn more on python code here; https://brainly.com/question/24833629


Related Questions

he is going ___ in the hot air ballon​

Answers

no artical shoul be used here


Arm coverings can NOT protect you from cuts or puncture wounds. Is this statement
TRUE or FALSE?

Answers

Answer:

true

Explanation:

it uses a period , not a question mark .

Uses of nanotechnology in the aerospace engineering field

Answers

Answer:

The aerospace applications for nanotechnology include high strength, low weight composites, improved electronics and displays with low power consumption, variety of physical sensors, multifunctional materials with embedded sensors, large surface area materials and novel filters and membranes for air purification, ...

Explanation:

A component is a part of a system.
O False
O True

Answers

True a component is any small part of a system

1. Fuel lines are constructed from

Answers

Fuel lines are normally made of double wall steel tubing. For fire safety, a fuel line must be able to withstand the constant and severe vibration produced by the engine and road surface. Lines are placed away from exhaust pipes , mufflers, and manifolds, so that excessive heat will not cause vapor lock.

An inside measurement can be taken with a tape measure by:

Answers

Answer:

Adding the length of the tape measure case.

Stone arrowheads are made by chipping smooth, curved pieces from rock to form a sharply pointed triangle with razor-sharp edges. Which rock, obsidian or gabbro, would make a better arrowhead? Why?

Answers

Answer:

I think obisidian.

Explanation:

Because it's really strong actually in real life.

What is the approximate average power output of a well-designed modern turbine in Des Moines, Iowa with a 10 m2 swept area and 50 m hub height

Answers

The approximate average power output is mathematically given as

P=1097.6w

What is the approximate average power output?

Question Parameters:

Iowa with a 10 m2 swept area and 50 m hub height

Assume 80% of the Betz limit, 80% conversion efficiency, and air density of 1.0 kg/m3. Wind speed is 7 m/s2

Generally, the equation for the average output power  is mathematically given as

[tex]P=0.5 \phi BAu^3*n\\[/tex]

Where

B= Benz coefficient

n=0.8

Therefore

P=0.5*1*0.8*10*7^3*0.8

P=1097.6w

For more information on Power

https://brainly.com/question/10203153

Complete Question

What is the approximate average power output of a well-designed modern turbine in Des Moines, Iowa with a 10 m2 swept area and 50 m hub height? Assume 80% of the Betz limit, 80% conversion efficiency, and air density of 1.0 kg/m3. Wind speed is 7 m/s2

Select the option below that contains the correct order or sequence of events. A) 1) Add host to subscription, 2) Use host as report source, 3) Scan hostB) 1) Use host as report source, 2) Add host to subscription, 3) Scan hostC) 1) Add host to subscription, 2) Scan host, 3) Use host as report sourceD) 1) Scan host, 2) Add host to subscription, 3) Use host as report source

Answers

The  option that has the correct order or sequence of events are;

1) Scan host.

2) Add host to subscription.

3) Use host as report source.

What are host assets?

Host assets are known to be a kind of IP addresses in a person's account. This type of assets is one that can be used as a kind of  scan, map and also to report targets.

A person can view the hosts in their account by going the  Assets panel to  the Host Assets. One can add new hosts by the use of the New menu. The person can also only carry out actions like scanning, mapping and reporting on one's hosts.

Learn more about IP addresses from

https://brainly.com/question/24930846

Why do bridges collapse? (Give at least three reasons)

Answers

Answer:

1: the unsteadiness of the bridge when it was builded

2:the architecture behind the bridge (like how uneven it was)
3: how old the bridge is

Explanation:

What unit of electricity is used as a signal for a computer?

Answers

Answer:

A power supply unit (PSU) converts mains AC to low-voltage regulated DC power for the internal components of a computer. Modern personal computers universally use switched-mode power supplies

Answer:

Volt is the SI (Standard International) unit of electrical potential of the..

Explanation:

identification of workshop safety issues and workshop layouts​

Answers

Answer:

Poor workshop layout and design.

Cluttered walkways leading to slips, trips and falls.

Electrical power leads.

Welding and grinding equipment.

Power tools – checking guards and cords.

Hoists used to work on farm vehicles.

Poor lighting – leading to accidents.

Battery charging.

Explanation:

The declaration property used to set the text color on a web page is

Answers

Answer:

color

Explanation:

Without more context I cannot be sure that this is correct, but I believe you are looking for the CSS declaration property of "color".

Have a nice day!

     I hope this is what you are looking for, but if not - comment! I will edit and update my answer accordingly.

- Heather

engineers please help im not good when it comes to drawing​

Answers

Answer:

I'm good at drawing and computer-animated design

Explanation:

All PPE used for lung protection must be tight-fitting. Is this statement TRUE or FALSE?

Answers

I think true I’m not sure

Discuss importance of good communication system​

Answers

Answer:

Effective communication helps decision makers by gathering and providing the information to the right person on right time. Communication performs as a motivator to the employees by notifying the employees about the job task, process of carrying and how it could be done better.

describe the typical ways of communicating technical information (such as sketches, test and inspection reports, work planning documents), and the amount of detail that should be included

Answers

Answer:

The most common and well known of these documents are memos and emails, which are used in every type of business. In addition to this, technical communicators also create instructions, product guides and documentation, graphs, charts, images, videos, and other forms of content.

There are many ways to communicate

technical information,

1. Planning sheet- describe the process - this

shows steps on how to make your drill drift-

telling us how us how to make it.

2.Drawings- this tells you the dimensions, size

of component/workpiece

Inspection sheets- check the measurements

are within given tolerances, this shows us

you've made it within those tolerances.

Instructions/ images of how to make your.

Three natural materials that were used by early man as roof covering​

Answers

Explanation:

animal parts, wood, rock, and clay

Answer:

roofing sheet

wood

metal

Other Questions
The number of entity types that participate in a relationship is called the:. Which statement best explains how elasticity and incentives work together?. how stress can be a motivating force in achieving good results in grade 12? Science question. will give brainliest!!! part 3!What happens when you disrupt water molecules by dropping in a stick? What form of push causes the stick to move the water molecules creating a splash? True or false: All of the enzymes that a cell has are found in the cells' cytoplasm. True false question. 50 Points please help. DO NOT PALAGRIZE. (DONT COPY FROM GO-OGLE)1. Lyric Poem: Create your own lyric poem about any topic of your choice. Remember lyric poetry expresses your thoughts and feelings. a. Your poem must have a title. b. Must use figurative languagec. 10 lines minimum. Consider the reaction of acetone dissolved in dry ethanol bubbled with hcl(g). Arrange the mechanistic steps, then select the name that best describes the final product. Some steps may be used more than once and not all steps will be used. Two species regularly come into contact and form hybrids that have higher fitness than either of the parental species. What are some likely consequences of regular hybridization between these species The _______________________ are low, rugged mountains that are anextension of the Alps. (Danube/Carpathians) (16 \8) + (24 \ 6)2DONE Mean and SD of the number of matches. There are n balls labeled 1 through n, and n boxes labeled 1 through n. The balls are distributed randomly into the boxes, one in each box, so that all n! permutations are equally likely. Say that a match occurs at place i if the ball labeled i happens to fall in the box labeled i. Let M be the total number of matches. a) Find E(M). b) Find SD(M). c) For very large n, what do you think is the approximate distribution of M Answer as much as you can Which expression is equivalent to 3(6x+12-3)? Change these sentences into affirmative. 1. Don't tell a lie. 2. Don't cross the road 3.The two boys are not fighting 4.We should not play in the fire5.The girls are not kicking the ball6.My friend do not play game7.My mother doesn't speak English 8.andrea doesn't like eating ice cream 9 Youngsters do not listen to music 9.The principall has not cancelled the programs 10.He doesnot punish his pupils. 11.She doesnot go to home at Christmas. The type of melodic movement in the star-spangled banner is. Does anyone know this? what is a central idea ? Help me please if you can Can anyone make a pie chart of these 2? I really need help A projectile is projected from the origin with a velocity of 30