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
Can you return an item to walmart without a receipt
bonufazy [111]

Answer:

No you can't

Explanation:

3 0
3 years ago
Read 2 more answers
Which characteristics make the long ballot ineffective? Select all that apply. It always includes confusing state referendums. I
zloy xaker [14]

Answer: Voters can be overwhelmed and vote by randomly guessing.

It puts too much of the onus of learning about the issues and candidates on voters.

It can include, state, local, municipal, national and federal candidates.

3 0
4 years ago
Read 2 more answers
You read a research study describing how some disease is more commonly found in both adopted children and their adopted parents
Inessa05 [86]

What I can likely infer about this disease is: B) It is more related to environmental than genetic factors.

<h3>What is an Inference?</h3>

An inference is a deduction that is made about a subject from pieces of available evidence.

Given the results of the research above, we can infer that the disease is more environmental than genetic because the disease did not affect the parents and children that shared genetic features.

Thus, the cause of the disease could be environmental.

Learn more about genetics here:

brainly.com/question/11260069

6 0
2 years ago
Where did the govenor of jamestown live
zzz [600]

Explanation:

probably in jamestown ???

3 0
3 years ago
Read 2 more answers
Conservative Christians who advocate the teaching of creation as presented in the Bible as opposed to the theory of evolution ar
Mumz [18]

Advocate the teaching of creation as presented in the Bible as opposed to the theory of evolution are fundamentalists.

Fundamentalism is a nonsecular reaction toward factors of modernity. The concept of fundamentalism first emerged in American Christianity within the early twentieth century, however, later evolved to denote actions in other cultures too.

Fundamentalism is an intense adherence to the core guidelines of any set of ideals. frequently, this time period is used in reference to non secular fundamentalism, a militantly strict interpretation of a nonsecular code.

Spiritual fundamentalism is the method of those spiritual organizations that look for the literal interpretation of original spiritual texts or books believing that teachings received from this kind of studying have to be utilized in all social, economic, and political factors.

Learn more about  fundamentalists here:brainly.com/question/399283

#SPJ4

6 0
2 years ago
Other questions:
  • Which was considered a failure of Progressive Era political reforms?
    12·2 answers
  • The American Indian tribes of Arizona are like separate nations, and as a result
    8·2 answers
  • Which statement best explains how Surrealism related to World War I?
    10·2 answers
  • Why do rising prices for a good or service have the effect of causing firms to increase production?
    8·1 answer
  • What was the original cause of the split between Shia and Sunni Muslims within Islam? A. disagreement over the role of women in
    11·2 answers
  • How much money is currently in this account?
    9·1 answer
  • Brad hates homosexuals and has an aversion to homosexual behavior. His orientation is predicated on fear. It is most reasonable
    10·2 answers
  • Why were the colonists
    8·1 answer
  • Which amendments, according to supreme court arguments, have elements of the right to privacy?
    5·2 answers
  • the technique can help reduce anxiety as you gradually visualize and then engage in increasingly more frightening speaking event
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!