cleanbeengreen cleanbeengreen
  • 09-11-2020
  • Computers and Technology
contestada

4.5 code need help we are not to the stage .format Teacher does not want that

45 code need help we are not to the stage format Teacher does not want that class=

Respuesta :

Cytokine
Cytokine Cytokine
  • 09-11-2020

i = 0

while True:

   word = input("Please enter the next word: ")

   if word == "STOP":

       break

   i += 1

   print("#"+str(i)+": You entered "+word)

print("All done. "+str(i)+" words entered.")

I hope this helps!

Answer Link

Otras preguntas

To enter a blank line into a document, press the ____ key without typing any text on the line.
What is the volume of the cube? A. 2744 mm3 B. 42 mm3 C. 1176 mm3 D. 196 mm3
The muscles that do not require conscious control are called ______muscles.
The Triple Alliance included Germany, Italy, and _____. France Austria-Hungary Spain
An Essay on மனிதனின் தன்னலமும், சுற்றுச்சூழல் அழிவும்
Who was by and large left out of the prosperity of the 1950s? A.children in new suburban areas B.the white middle class C.veterans of World War II D.African Ame
15x-3y=-30 what is the x-intercept?
Which sentence uses a verb that agrees with its compound subject? A.Either the pie or the berries is attracting ants. B.Juan and Walter lives in my neighborhoo
If you divide the mass of a substance by its volume, you can find its density. Please select the best answer from the choices provided a. True b. False
solve i=prt for t if i=105 p=700 and r=0.05
good job