Write a loop that inputs words until the user enters stop. After each input, the program should number each entry and print I. This format:
#1: You entered _____
When stop is entered, the total number of words entered should be printed in this format:
All done ___ words entered.

Answers

Answer 1

Answer:

Written in Python:

userinp = input("Input: ")

count = 0

while not userinp == "stop":

print("You entered "+str(userinp))

count = count + 1

userinp = input("Input: ")

print("All done, "+str(count)+" words entered")

Explanation:

I've added the full program as an attachment where I use comments to explain difficult lines

Write A Loop That Inputs Words Until The User Enters Stop. After Each Input, The Program Should Number
Answer 2

Answer:

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

count = 0

while word != "DONE":

      count += 1

      print("#{}: You entered the word {}".format(count, word))

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

print("A total of " + str(count) + " words were entered.")

Explanation:

Assuming this is python, this should help!


Related Questions

A student should be most cautious using a web address ending in

Answers

Answer:

It is .com because all the others are school-safe. And .com is snatch-able.

Explanation:

Answer:

.com

Explanation:

What is the purpose of technology?

Answers

Answer:  In general, when technology attempts to solve problems of matter, energy, space, or time, it is successful.

Explanation:  When it attempts to solve human problems of the mind, communication, ability, etc.

Assume that inputList is an ArrayList of Integer objects that contains the following values. [0, 10, 30, 40, 50, 70, 70, 70, 70] What value will be returned by the call binarySearch(inputList, 0, 8, 70)

Answers

Based on the inputList and the binarySearch, the value that will be returned by the call binarySearch above is 6.

What value will be returned?

With inputList =  [0, 10, 30, 40, 50, 70, 70, 70, 70], the first call would be:

1st call = binarySearch(inputList, 0, 8, 70)

mid = 8 + (0/2)

= 4

if (70 is less then 50)

A second call would yield:

2nd call = binarySearch(inputList, 5, 8, 70)

mid = 13/2

= 6

if (70 = (70))

Return is 6 is the above holds so output is 6.

Find out more on Binary searches at https://brainly.com/question/21475482.

I've got a question that is: What's a multimedia product ?

Answers

Explanation:

Multimedia Product means a product where software allows for interaction between the user and various media technologies such as the reproduction of sound and image.

hope this helps you.

4.
prevents many people from having access to technology and the Internet.
A. Digital literacy
B. Living in a wealthy nation
C. A good infrastructure
D. Income inequality

Answers

Income inequality and  Digital literacy prevents many people from having access to technology and the Internet.

How does digital system affect people's lives?

People do not have access to internet because of poor economic and social problems, such as fewer job opportunities, less competitive economies and others.

Other Factors such as digital literacy and low income levels, geographical restrictions, lack of zeal to use technology are known to have contributed to the digital division in the country.

Learn more about Income inequality from

https://brainly.com/question/24554155

It is time to practice your skills learned this week. Choose a current event in Science from this week. Write a summary on your event. Download and print your summary and give it to your teacher, make a copy of your story, and email your story to your teacher.

Answers

Answer:

Researchers on March 18 reported that the "black summer" fires in Australia in 2019 and 2020 damaged portions of the Earth's protecting ozone layer. The researchers said the damage was severe enough to be detectable by instruments, but not significant enough to have any immediate effect. However, they warned that the hole could grow larger as greenhouse gas emissions increase over time. They also pointed out that the damage would affect weather patterns around the world for years to come.

The study is being widely reported, including in news sources like USA Today (March 19), ABC News (March 19), National Public Radio (March 20), BBC News (March 21), and others. Some articles discuss how it might even impact climate change predictions.

Explanation:

My original answer.

Write a fragment of Java codes to generate the following output, you are required to use the nested for loop. 1 3 5 3 5 7 5 7 7​​

Answers

Answer:

public class fragmentname extends Fragment{

Activity referenceActivity;

View parentHolder;

Button backBtn;

public View onCreateView(LayoutInflater inflater, ViewGroup container,...

Explanation:

Written below is  Java code snippet that uses nested for loops to generate the specified output:  

for (int i = 1; i <= 3; i++) {

   for (int j = i; j <= i + 2; j++) {

       System.out.print(j + " ");

   }

   for (int j = i + 1; j <= i + 2; j++) {

       System.out.print(j + " ");

   }

}

How does this code work?

When you run this code, it will print the desired output: 1 3 5 3 5 7 5 7 7.

The outer loop iterates from 1 to 3, and the inner loops generate the numbers in the required pattern.

The first inner loop prints the increasing numbers, and the second inner loop prints the repeated numbers.

Learn more about Java  at:

https://brainly.com/question/20814969

#SPJ2

PLEASE HURRY!!!!

Fill in the blank in order to convert the user’s response to a number without a decimal point.
>>> answer = input("How many sodas do you want? ")
How many sodas do you want? 5
>>> numberAnswer = (answer)

Answers

Answer:

int

Explanation:

This pretty late from the day you asked but for anyone else that has to take this horrid online class it's int

Answer:

>>> numberAnswer =  int (answer)

Explanation:

After you input this line of code, all you have to do is input the line">>>numberanswer" and you will get the number 5 back

TRUE or FALSE.

2.3 A website contains hyperlinks that link it to other documents and can be a word or sentence, icon,
picture or button.
2.4 SocialMention is a tool that monitors consumer trends on social media platforms by concentrating
on specific industries
2.5 The United States of America is responsible for the creation of Internet 1976.

Answers

Explanation:

TRUE or FALSE.

(T) 2.3 A website contains hyperlinks that link it to other documents and can be a word or sentence, icon,

picture or button.

(T) 2.4 SocialMention is a tool that monitors consumer trends on social media platforms by concentrating

on specific industries

(F) 2.5 The United States of America is responsible for the creation of Internet 1976.

Answer:

all are true except 2.5

Explanation:

this is because the internet was created by Vinh Cerf and Robert Khan

Trade secrets _____. give a competitive edge give a competitive edge protect owners for 20 years protect owners for 20 years are secret company names are secret company names are products that generate profit

Answers

Trade secrets are confidential business information that give a competitive edge give a competitive edge.

What is a trade secret?

Note that trade secret protection is one that gives people or their owners the right to hinder or stop an information lawfully and it is one that is said to be within their control and this it cannot be disclosed, acquired or used by any other person without their consent.

Conclusively,  confidential business information are said to give an enterprise a competitive edge and it is said to be  unknown to others and thus it is said to be protected as a trade secret.

Learn more about Trade secrets  from

https://brainly.com/question/993315

The USGS and National Weather Service have many sensors collecting data about natural events.
That data can be used to create a weather map. Identify the parts of the Input-Process-Output model for each step.

_______ weather map displayed on a web page

_______ determination of color to be used on the map

_______ sensors collect temperature and precipitation data

Options: Output, input, process.​

Answers

Answer:

1. Output

2. Process

3. Input

Explanation:

Answer: Output, Process, Input

Explanation: got it right on edgen

Given that an integer variable i and a floating-point variable f have already been declared and given values: Write a statement in C that displays the values of i and f to standard output in the following format: i=value-of-i f=value-of-f

Two Examples:
Example 1: if the values of i and f were 25 and 12.34 respectively, the output would be: i=25 f=12.34
Example 2: if the values of i and f's value were 703 and 3.14159, (respectively) the output would be: i=703 f=3.14159

Answers

Answer:

Follows are the given statement to this question:

printf("i=%d f=%f", i, f);//print value

Explanation:

The full code to the given question:

code:

#include <stdio.h>//defining header file

int main()// main method

{

   int i;//declaring integer variable

   float f;//declaring float variable

   i=25; //assign integer value

   f=12.34;//assign float value

   printf("i=%d f=%f", i, f);//print value

   i=703;//assign integer value

   f=3.14159;//assign float value

   printf("\n");//for line break

   printf("i=%d f=%f", i, f);//print value

   return 0;

}

Output:

i=25 f=12.340000

i=703 f=3.141590

In the above-given code, the two variable "i and f" is declared, that holds integer and floating-point value in its respective variable and use the print method, to print "i and f" variables value.  

dose anybody know how to look up questions by how many points they give you and if you cant do that we need to be able to do that lol.

Answers

Answer:

Uhh... I don't think we can do that lol.

Harry is undertaking a digital photography course as the college and wants to
complete and submit an assignment from home
His assignment will include documents and photographs that are currently stored
on his laptop, smartphone and digital camer
He will submit his work using the college VPN. His tutor will download and assess
the work
Draw a diagram to show the integration of systems that could be used in this
process.
The diagram should include
- devices and systems that can be used
devices to be connected and the connection type's used
the flow of data through the system
annotations indicating the information and data to be passed between the
systems/devices.
(10)

Answers

C. Unconventionally yes it will break down the system potentially causing a virus

What's the answer for 1 and 2

Answers

Answer:

volume??????? 1

select a ??????? 2

Explanation:

Element of python which is valid syntax patterns

Answers

Answer:

yes

Explanation:

Create a structure representing a student. The member variables should include student name, student ID, and four test grades for the student (an array of four grades as a member variable). Prompt the user to enter the name, ID, and the four positive test results. Perform error checking for negative values. Store all the data in a structure object. Calculate the average of the three highest grades, dropping the lowest grade. Display the student's name, ID number, four test grades, and the average of the three highest grades. Use a loop to repeat the questions for the next student. You can recycle the same struct object for the next student. Terminate the program when the user decides to stop.

Answers

Answer:

Output:

Name: Brainly

ID:0001

Write the 4 tests grades of the student separated by space :10 9 8 10

Brainly

0001

10 9 8 10

Average :9.66667

'1' to continue '0' to exit :

Explanation:

#include<iostream>

#include<string>

using namespace std;

//variables declaration

struct Student {

  string id; //string declaration ID

  string name; // string declaration name

  int grades[4]; //array of 4 because it is 4 grades

};

//definition of the function get information

void inputData(Student &s){

 

   

   cout << "Name:" ;

   getline(cin,s.name);

   cout << "ID:";

   cin >> s.id;

   cout << "Write the 4 tests grades of the student separated by space :";

   for (int i = 0; i<4; i++)

       cin >> s.grades[i];

}

//definition of the function of average

double inputAvg(Student s){

   double summation;

   int temporary;

   double average;

   for (int i = 0; i<4; i++){  

      for (int j = i; j<4; j++){

         if (s.grades[j] > s.grades[i]){

             temporary = s.grades[i];

             s.grades[i] = s.grades[j];

             s.grades[j] = temporary;

         }

      }

    }

    summation = 0;

    for (int i = 0; i<3; i++){

        summation = summation + s.grades[i];  

    }

    average = summation/3;

    return average;

}

void disp(Student *s){

   cout << s->name << endl;

   cout << s->id << endl;

   for (int i = 0; i<4; i++)

       cout << s->grades[i] << " ";

   cout << endl;

   cout << "Average :" << inputAvg(*s) << endl;

   

}

int main(){

  Student st;

  int ch;

  while(true){

      inputData(st);

      disp(&st);

      cout << " '1' to continue '0' to exit :";

      cin >> ch;

      if (ch == 0)

         break;      

  }

  return 0;

}

What are steps for properly cleaning a PC or Mac laptop fan? Check all boxes that apply.

For a PC laptop, remove the CPU case, locate the fans, and then use compressed air to blow dirt through the internal slits.

For a Mac laptop, visit an Apple Store or take a look at your Apple Care Protection Plan, if applicable.

For PC and Mac laptops, use compressed air on all ports and drives.

For PC and Mac laptops, consider getting an experienced technician to help you.

Answers

Answer: Its   B. For a Mac laptop, visit an Apple Store or take a look at your Apple Care Protection Plan, if applicable.   And  D.  For PC and Mac laptops, consider getting an experienced technician to help you.

Explanation: You have to read to understand and learn.

To locate a value in an ordered array of 100 items, binary search must examine at most ________ values.

Answers

To locate a value in an ordered array of 100 items, using binary search, requires examining at most _________ values.

7

pls help I will give brainliest​

Answers

It should be Yes.

This is because most labs use a cloud of some sort for situations like his. So as long as John saved his work to the cloud in use, he should be able to access it after logging in.

Hope this helps, brainliest is appreciated :)

Have a great day!

~Mitsuna

What is an Internet Service Provider? Describe at least two types of ISP. (I NEED THIS ASAP LIKE NOW)

Answers

Answer:

A company that provides service to its subscribers to the internet | WiFi, cellular data

Explanation:

WiFi provides service to its subscribers to the internet; the same applies to cellular data.

What is the difference between Mac, PC, Tablets, and Cell Phones?

Answers

Answer:

In the strictest definition, a Mac is a PC because PC stands for personal computer. However, in everyday use, the term PC typically refers to a computer running the Windows operating system, not the operating system made by Apple.

Explanation:

Hope this helps !!

difference between mobile and tablet is because the size of the screen and based on its power with different capabilities

Which one of the following is the most appropriate explanation of photoplethysmography?

Answers

Photoplethysmography a simple optical technique used to detect volumetric changes in blood in the peripheral circulation.

What is photoplethysmography?

Photoplethysmography is a technique used in signal analysis and application.

This instrument is a simple optical technique used to detect volumetric changes in blood in the peripheral circulation.

This technique provides valuable information related to our cardiovascular system

learn more on photoplethysmography here; https://brainly.com/question/25770607

why do we buy new asset​

Answers

Your question is too vauge, what do you mean exactly in what terms because you aimed this to to computer and technology, In business terms asset is something that brings in money or brings a positive impact. A form of asset can be stocks, crypto, NFTs, real estate... If you own one of these you own an asset, its as simple as that.

13. Population

Write a program that predicts the approximate size of a population of organisms. The

application should use text boxes to allow the user to enter the starting number of organisms,

the average daily population increase (as a percentage), and the number of days the

organisms will be left to multiply. For example, assume the user enters the following values:

Starting number of organisms: 2

Average daily increase: 30%

Number of days to multiply: 10

The program should display the following table of data:

I'm stuck in this problem in python 1 and also can you guys provide me the flow chart

Answers

Answer:    after day one there is  2   2.6   3.3   9.1   27   81   243  729 2,187

6,561

Explanation:

11. Which of these types of programa is bothersome but not necessarily dangerous?
A Worm
B. Adware
C. Virus
D. Trojan

Answers

Answer:

Virus

Explanation:

Your answer should be C. Virus

a brief written summary of employment history, education, and other related
information.
essay
bold
resume
font

Answers

Answer:

Heres my answer

Explanation:

Mention your current job title and professional experience. Say how you want to help the employer achieve their goals. Add info on your key achievements to prove you can deliver results when hired. Limit it to 3 or 5 sentences and use numbers whenever possible.

Answer: c. resume

Explanation:

Networks can be classified by geographical scope as PANs, , and WANs. The cables and signals used to transport data from one network device to another are a communication . Wired channels include twisted pair wires, cables used for cable television, and -optic cables used for high-capacity trunk lines. Wireless channels use signals and microwaves. Government agencies regulate some wireless . The transmission capacity of a channel is referred to as . Channels that are capable of moving at least 25 Mbps are classified as . Networks can be configured in various , such as star, mesh, point-to-point, or bus. Any device in a network is referred to as a(n) . Data equipment includes computers. Data equipment includes modems and routers. Additional DCEs include hubs, switches, bridges, repeaters, and access points. Networks use physical, transport, and arrival communication to set the rules for efficiently transmitting data and handling errors.

Answers

Answer:

1. LANs.

2. Channel.

3. Coaxial; fiber

4. RF; Channels.

5. Bandwidth.

6. Broadband.

7. Topologies.

8. Node.

9. Terminal.

10. Communication.

11. WAP.

12. Protocols.

Explanation:

1. Networks can be classified by geographical scope as PANs, LANs, and WANs.

2. The cables and signals used to transport data from one network device to another are a communication channel.

3. Wired channels include twisted pair wires, coaxial cables used for cable television, and fiber-optic cables used for high-capacity trunk lines.

4. Wireless channels use RF signals and microwaves. Government agencies regulate some wireless channels.

5. The transmission capacity of a channel is referred to as bandwidth.

6. Channels that are capable of moving at least 25 Mbps are classified as broadband.

7. Networks can be configured in various topologies, such as star, mesh, point-to-point, or bus.

8. Any device in a network is referred to as a node.

9. Data terminal equipment includes computers.

10. Data communication equipment includes modems and routers.

11. Additional DCEs include hubs, switches, bridges, repeaters, and WAP access points.

12. Networks use physical, transport, and arrival communication protocols to set the rules for efficiently transmitting data and handling errors.

how can i promote netiquette??​

Answers

Answer: Neh - tuh - ket

Explanation:

The above answer is the phonetical pronunciation of the word Netiquette which is an amalgamation of the words, Net and Etiquette and as the term implies, refers to the behavior on the internet that is socially acceptable and good so that other people are not made to feel uncomfortable.

Dawn is trying to find out how much weight she can push across the room. She is really trying to find her __________. A. flexibility B. muscular endurance C. cardiovascular fitness D. muscular strength

Answers

The correct answer is d. muscular strength.

Explanation :

The maximal force a muscle can create when it contracts is referred to as muscular strength. When compared to someone with lower physical strength, someone with better muscular strength can lift heavier weights. Lifting progressively larger weights over time and eating a diet rich in protein-based foods can help a person's physical strength gradually grow.

I hope this helps. Please mark "Brainliest" if you can.

Other Questions
Which of the following accounting principles prescribes that a company record its expenses incurred to generate the revenue reported?. state the slope and y-intercept of the graph of 9-x=2yplease explain how you got your answer. Thank you. 17/8 and 1/2 a proportional When is it possible to break even in an energy transformationA: AlwaysB: Late phaseC: Early PhaseD: Never A bicycle tire is filled with air to a pressure of 100. psi at a temperature of 19C. Riding the bike on asphalt on a hot day increases the temperature of the tire to 58?C. The volume of the tire increases by 4.0%. What is the new pressure in the bicycle tire? What are the text boxes in a slide known as? In the first sentence, William Kamkwamba says, "Before I discovered the miracles of science, magic ruled the world. " How does magic rule William's world? There is no government for the world. Yet, on any given day, international transactions are typically characterized by order, stability, and predictability. We are puzzled. Which of the following questions raised is not related to global governance? a sample of gas with a volume of 30 ml with a temperature at 25 What is the value of sum after the code segment is executed? Please help I need this before 8:00 suppose you're an attorney. in a case your presenting to a federal court, you agree that the person your defending suffered cruel and unusual punishment. which amendment of the constitution should you cite What is the greatest common factor of 24 and 60 >>> sentence = "Programming is fun!">>> _____'ogr'A sentence[3:5]B sentence[2:6]C sentence[3:6]D sentence[2:5] The figure shows the measurements, in inches, of a rectangular prism.A rectangular prism has a height of 8 inches, length of 7 inches and a width of 7 inches.What is the volume of the prism? The outside temperature decreases by 7 degrees in 3.5 hours. 5a.) How would you represent the temperature change as a unit rate? Express your answer as an integer. Please help I need an answer asap! Please help me, I don't know this one. What is the other factor of 6x2 7x 2? 3x 2 3x 1 3x 1 3x 2. helppppppppppppppppp State four benefits for a person who detects a disease early enough?