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
JulsSmile [24]
3 years ago
11

Write a multi-way if statement that compares the double variable pH with 7.0 and makes the following assignments to the bool var

iables neutral, base, and acid:
Computers and Technology
1 answer:
Masja [62]3 years ago
4 0

Answer:

try:

   pH = float(input("Enter number between 0 to 14: "))

except ValueError:

   print("input must be a number")

if pH < 7:

   print("pH is Acidity")

elif pH == 7:

   print("pH is neutral")

else:

   print("pH is Base/alkaline")(

Explanation:

The try and except statement is used to check if the input is a number, if its not, the print statement is displayed. The nested if statement compares the pH input to know if it is an acid, base or neutral.

You might be interested in
What does the hard disk drive do? It stores all of the information on a computer. It controls a computer’s operating system. It
umka21 [38]

The hard disk drive, OR HDD Stores all the information on the computer.

5 0
4 years ago
Read 2 more answers
A process that rearranges the data and objects in a database to decrease its file size, thereby making more space available on y
Darya [45]

Answer:

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

Explanation:

  • Compacting is a method that reconstructs the objects and data in a database to minimize the size of its file, thereby making more available space in your disk and allowing you to close and open the database quickly.
  • Eliminating wasted space in a file stored. Updating appears to split a file, but saving the file as a copy saves the data manually from the beginning will cause space to be wasted.

Therefore, Compacting is the right answer.

8 0
3 years ago
How can the function abcfunc change the address in its local copy of intpoint?
Sophie [7]

Answer:

the correct answer is it cannot

7 0
3 years ago
Your license can be canceled if you __________
Elena L [17]
Its B i think hope this helps ! 
8 0
4 years ago
Read 2 more answers
10. Blender® allows users to duplicate an object simply by selecting it and pressing duplicate on the toolbar (shift+D). (1 poin
lisov135 [29]
<span>10. Blender® allows users to duplicate an object simply by selecting it and pressing duplicate on the toolbar (shift+D).
True

11. According to the unit, which of the following is an important first step in any creative endeavor?
pre-production

Hope this helps.
</span>
5 0
4 years ago
Other questions:
  • What is information reach? A. A global public network of computer networks that pass information from one to another using commo
    5·1 answer
  • Which statement below is inaccurate? a. Web 2.0 is a simple static website without any interaction with its users b. Web 2.0 bri
    5·1 answer
  • Because log-on procedures may be cumbersome and tedious, users often store log-on sequences in their personal computers and invo
    6·1 answer
  • You have been studying processors. Your instructor has asked you to help prepare a lecture for introductory students learning ab
    10·1 answer
  • The 169.254.78.9 ip address is an example of what type of ip address?â
    8·1 answer
  • How do I sign into raterhub on my phone and my mobile device at the same time to complete phase 2 of my raters exam for sykeshom
    10·1 answer
  • Write a Python program to balance a checkbook. The main function needs to get the initial balance, the amounts of deposits, and
    5·1 answer
  • JAVA
    14·1 answer
  • In which part of a professional email should you try to be brief but highly descriptive a the blind carbon copy B the emoticon s
    10·1 answer
  • When assigning a value to a string, which of the following rules needs to be followed?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!