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
Burka [1]
3 years ago
15

Write a loop that reads strings from console input where the string is either "duck" or "goose". The loop terminates when "goose

" is read in. After the loop, your code should print out the number of "duck" strings that were read.
Social Studies
1 answer:
bearhunter [10]3 years ago
6 0

Answer:

<em>Below is the step by step taken for a loop that reads strings from console input where the string is either "duck" or "goose"</em>

Explanation:

<em>ducks = 0 </em>

<em>bird = input('Please enter either duck or goose')</em>

<em>while bird != 'goose'</em>

<em>if bird == 'duck'</em>

<em>ducks+= 1 </em>

<em>bird = input('Please enter either duck or goose') </em>

<em>print('The number of ducks entered is' ducks)</em>

<em>end.</em>

You might be interested in
Where does the word “patriotism” come from?
torisob [31]
The word 'patriotism' comes from England.
Hope this helps :)
5 0
4 years ago
Give two examples of these industries, and explain how they are bulk-gaining
Viktor [21]
An industry in which the last item measures more or includes a more noteworthy volume than the data sources refers to the bulk gaining industry.

Examples of these industries are:
(1)Fabricated metals-industrial facility unites metals, for example, steel and beforehand fabricated parts and changes them into a more mind boggling item. 
(2)Beverage production-exhaust jars or jugs are conveyed to the bottler, filled, and after that sent to customers. Important info set in holders is water, which is for the most part massive, substantial, and costly to transport. 
7 0
3 years ago
What did Barbara Jordan work on with others to achieve?
Stells [14]

Answer:

C

Explanation:

Hello catfisher

8 0
3 years ago
२. उत्तर भन:<br>(क) मानव मनलाई लोभ्याउने कला कुन कुन हुन् ?​
MAVERICK [17]

Answer:jæüçæ

Explanation:

8 0
4 years ago
How did south africa gain independence
Bingel [31]

The British gave independence to South Africa, 8 years after the Boer war ended.

Explanation

It was on May 31, 1910. But it was only by 1931, all British power was completely removed.

After the Boer war, the Union of South Africa was born.

The union included former colonies of the Cape and Natal.

The union became completely free by 1931 when the British were forced to abandon. But they recognized the British queen as monarch.

It was by 1961, they became a republic.

6 0
3 years ago
Other questions:
  • According to the USPTO, which of the following is any word, name, symbol, device, or any combination, used, or intended to be us
    13·1 answer
  • Which of the following could be TRUE?
    11·2 answers
  • A committee within a committee that looks at a bill closer is called:
    15·2 answers
  • Who was the first president?
    15·2 answers
  • Which of these groups would have been LEAST likely to be a major ethnic group in Latin America?
    10·1 answer
  • When was the first election held in Nepal?​
    5·1 answer
  • 1. Wallerstein describes _____________________________ countries dominating others without being dominated, ____________________
    15·1 answer
  • How do we know what we know about the Ancient Greeks? What did they do to make sure that future times would know about their acc
    10·1 answer
  • Horatio has developed a new test for ADHD. He is trying out his new test on about 500 children, half of whom have already been d
    10·1 answer
  • True or False the further away an object is the weaker the gravitational pull becomes
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!