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
Mila [183]
3 years ago
15

Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times

the character appears in the phrase.
Ex: If the input is:
n Monday

the output is:
1

Ex: If the input is:
z Today is Monday

the output is:
0

Ex: If the input is:
n It's a sunny day

the output is:
2

Case matters.

Ex: If the input is:
n Nobody

the output is:
0

n is different than N.

Learning Python
Computers and Technology
2 answers:
kramer3 years ago
8 0

Explanation:

1

Ex: If the input is:

z Today is Monday

the output is:

0

Ex: If the input is:

n It's a sunny day

the output is:

2

Case matters.

Ex: If the input is:

n Nobody

the output is:

0

n is different than N.

Learning Python

ExtremeBDS [4]3 years ago
3 0

I've included my code in the picture below. Best of luck.

You might be interested in
The Integrated Services Digital Network (ISDN) sends telephone transmissions across what type of lines?
PtichkaEL [24]

Answer:

The correct answer to the following question will be "Digital".

Explanation:

A digital line seems to be a type of line of communication that requires only binary code for transmission and release.

  • ISDN (Integrated Services Digital Network) is a wireless enterprise-only connection that links a conventional phone system to the telephone line, enhancing the visibility and efficiency of communications.
  • It is indeed a series of connectivity protocols across the conventional networks of the community activated mobile phone network enabling seamless wireless delivery of audio, display, content, and other related services.
6 0
3 years ago
10
Nataly_w [17]

Ok so I don't know what your text is about so you'll have to figure that out your self

Scientists track these measurements to make a final model because using the research data from the previous model can show the grows and glows of that model. Using this data scientists can improve whats needed.

7 0
2 years ago
Which of these is most likely to contribute to the long term of a local ecosystem?
maria [59]
I would help but you didn’t say what these is
8 0
2 years ago
Complete the sentence. <br><br> The internet is an example of a ______
maria [59]

Answer:

packet switched network

4 0
3 years ago
Timeliness is an important goal of any access control monitoring system.<br> A. True<br> B. False
Damm [24]
The answer for this question is true
7 0
4 years ago
Other questions:
  • The spellchecker can be found in which two locations in most wordprocessing software?
    5·1 answer
  • having one password for all accounts is an easy way to remember passwords, but it will expose you to what risk?
    8·1 answer
  • My friend Leo wants to have an emergency plan for his final exams on University of Southern Algorithmville. He has N subjects to
    9·1 answer
  • Consider the formula: G=D+(A+C^2)*E/(D+B)^3 Show the order that a processor would follow to calculate G. To do so, break down th
    10·1 answer
  • A company that manufactures machine parts orders a new system that makes products at ten times the speed of the earlier machine.
    6·2 answers
  • 50) Universal Containers has an integration that runs nightly to update the Product (Product2) object in Salesforce with updated
    9·1 answer
  • Which type of computer network ensures high security
    10·1 answer
  • What type of values are typically stores in unweighted graphs
    5·1 answer
  • What is a phonograph?
    15·2 answers
  • A bot can use a _______to capture keystrokes on the infected machine to retrieve sensitive information.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!