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 most common type of database is a __________ database. question content area bottom part 1 a. relational b. normalized c. sa
sashaice [31]

The most common type of database is a <u>relational  </u>database.

<h3>What is relational database?</h3>

A relational database is seen as a set up of information that is known to be put together data in a way that is predefined in its relationships and it is one where data is saved in one or more tables.

Note that it is one that do makes it easy to see and know how different data structures links to each other. Hence, The most common type of database is a <u>relational  </u>database.

Learn more about database from

brainly.com/question/518894

#SPJ1

7 0
2 years ago
Guys please inbox me​
ololo11 [35]

Answer:

how do i do that?

Explanation:

5 0
3 years ago
Read 2 more answers
Consider the following relation for published books: BOOK (Book_title, Authorname, Book_type, Listprice, Author_affil, Publisher
Ivenika [448]

The key for this relation is Book_title,Authorname. This relation is in 1NF and not in 2NF as no attributes are FFD on the key. It is also not in 3NF

<u>Explanation:</u>

<u> lGiven the relation </u>

<u>l</u>Book(Book_title, Authorname, Book_type, Listprice, Author_affil, Publisher)

land the FDs

lBook_title . Publisher, Book_type

lBook_type . Listprice

lAuthorname .Author_affil

(a) The key for this relation is Book_title,Authorname. This relation is in 1NF and not in 2NF as no attributes are FFD on the key. It is also not in 3NF

(b) 2NF decomposition:

lBook0(Book_title, Authorname)

lBook1(Book_title, Publisher, Book_type, Listprice)

lBook2(Authorname, Author_affil)

<u> This decomposition eliminates the partial dependencies. </u>

3NF decomposition:

lBook0(Book_title, Authorname)

lBook1-1(Book_title, Publisher, Book_type)

lBook1-2(Book_type, Listprice)

lBook2(Authorname, Author_affil)

l<u>This decomposition eliminates the transitive dependency of Listprice </u>

8 0
3 years ago
Explain FOUR (4) other methods of speeding up processors.
deff fn [24]

Answer:

  The four methods of speeding up the processors are:

  •  Use the best antivirus for our computer system otherwise it cause damage in the system and also reduce in the performance of various processors.
  •  Uninstall all the unnecessary applications and software from the system so, it increase the speed of the processor as, it reduce the load of the processors.
  • Increase the size of RAM in the system so that, it can easily perform multiple task and various application simultaneously that increase the performance of the system.
  •  Delete all the junk file and all the temporary files from the folder in the system so it will increase the speed of the processors.  

4 0
3 years ago
Anoten algunas características de internet que son muestras de su factibilidad, fiabilidad, eficiencia y eficacia.​
jeka94

Answer:

1. Mostly available/accessable

2. Interactive

3. facilitate learning

4. globalized

Explanation:

Note: The Internet is a connection (joining) of computers wirelessly together on a network where data and information can be shared.

1. The internet is mostly available/accessable by the majority of mankind making it very effective for communication purposes.

2. The interactive nature of the internet allows for direct feedback from other connected users on the internet.

3. A major role of the internet is its effectiveness in education, this allows remote online teaching possible.

4. Since the intent is globalized it allows for cross cultural communication.

5 0
4 years ago
Other questions:
  • Store shelves are empty during periods of Excess Demand. What is another term for Excess Demand?
    8·1 answer
  • Analog footage can be digitized using video _____ equipment.â
    7·1 answer
  • I am doing Microsoft Excel and I have do formulas, Can some please explain to me how do them?
    14·1 answer
  • Network ____ specify the way computers access a network. a. wires b. files c. standards d. instructions
    13·1 answer
  • Jade has to present a paper on the basic architecture of the Princeton microcomputer architecture model. Which option will he hi
    5·1 answer
  • PLEASE HELP!!! History abounds with instances in which the work of scientists and artists were affected by the political, religi
    9·1 answer
  • Which two functions can be used with the math module?
    13·1 answer
  • G i r l s o n l y j o i n <br> id= ons jcuv jke
    13·2 answers
  • Effective online learning method for students
    5·1 answer
  • What is the difference between (IF instructions &amp; WHILE instructions )<br> 0<br> 를 들<br> T<br> !
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!