answer.
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]
2 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]2 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
Hanley Inc. includes a one-year guarantee on each one of its blenders that states that any defects that occur within the first y
Wittaler [7]
I think they should file a civil lawsuit against hanley inc. because they did not do what they said they would do
4 0
2 years ago
Read 2 more answers
Millie feels sick every time she travels by air. She associates flying with physical illness and, as a result, hates air travel.
Roman55 [17]

Answer: The correct answer is B) Classical Conditioning

Explanation: Classical Conditioning is learning through association.

If someone when flying in an airplane has experienced certain negative stimuli repeatedly then he/she would associate flying with negative responses.

For instance: Flying in an airplane (Neutral stimulus)

Is paired with:  Unconditioned Stimulus (Eating spoiled food) which in turn elicits an unconditioned response (Puking, feeling ill).

Then, the neutral stimulus transforms into a Conditionated stimulus which elicits a conditionated response.

That's called Classical Conditioning.

7 0
2 years ago
Erin was told that her new college roommate had been diagnosed with depression a few years ago. erin then incorrectly perceived
Sonbull [250]
<span>this best illustrates the impact of perceptual set. Perceptual set is the leaning to notice certain types of sensory data while ignoring others. Per Vernon in 1955, perceptual set works by the perceiver having expectations of certain things an expects certain responses.</span>
8 0
2 years ago
How were the pilgrim and puritan colonies similar and different?
Karo-lina-s [1.5K]
Difference: puritans wanted to make chnages to the church of england not fully leave it but pilgrims wanted to seperate from the church of england
Similarity: seperatists and went to america to practice religious freedom in america and escape religious persecution
3 0
2 years ago
A(n) _____________is an attorney, nonprofit organization, or private law firm that contracts to provide legal services to indige
svlad2 [7]

Answer:

The correct answer is A(n) <u>contractor</u> is an attorney, nonprofit organization, or private law firm that contracts to provide legal services to indigent defendants for a specific fee, while a(n) <u>public defender</u> is a court-appointed private attorney representing indigent defendants.

Explanation:

The Sixth Ammendment to the Constitution states that any person that has been charged with a crime has the right to counsel. Nevertheless, many people can't afford to pay for an attorney. In 1930, the Supreme Court extended the right to an attorney when people couldn't afford one in federal criminal cases; by 1960 it extended to state cases too.

The term contractors refers to the attorney, law firm,  associated attorneys or firms, or organization (nonprofit or for-profit) that provides representation to indigent persons under contract (Contract Attorney System).

The Public Defender System allows for public defenders to work independently. Within this program, Public Defenders are appointed by court to cases.

5 0
2 years ago
Other questions:
  • Typical language used by states to define emotional abuse is "injury to the _____________ or _____________ of the child as evide
    12·1 answer
  • Ned has a wide network of relationships, and most of his acquaintances have a positive opinion of his intelligence and integrity
    13·1 answer
  • According to stalin, what must soviets do to defeat hitler?
    5·2 answers
  • A crowd at a soccer game starts to boo, yell at the home team, and throw cups and trash at the players after the team loses a ve
    12·1 answer
  • Contrary to what Piaget had concluded, Renee Baillargeon found that infants could understand the properties of objects. She prov
    14·1 answer
  • Luke is at a leadership conference where he has just met Jasmine for the first time. In this situation, he will most easily be a
    15·1 answer
  • Encouraging young girls to wear dresses while encouraging young boys to engage in contact sports are examples of ways some paren
    6·1 answer
  • Explain how this transfer observes the conservation of charge​
    14·1 answer
  • Lola signed an employment agreement in which she agreed to arbitration if a legal dispute arose between her and her employer. Th
    7·1 answer
  • According to the model of memory proposed by Atkinson and Shiffrin, the _____ is a memory system that can hold about seven items
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!