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
maw [93]
3 years ago
15

Given the variables full_admission_price and discount_amount (already defined), write an expression corresponding to the price o

f a discount admission.
You are given two variables, both already defined, one associated with a float and named total_weight, containing the weight of a shipment, the other associated with an int and named quantity, containing the number of items in the shipment. Write an expression that calculates the weight of one item.

Write a for loop that prints all the even integers from 80 through 20 inclusive, separated by spaces.

Use Python
Computers and Technology
1 answer:
stiks02 [169]3 years ago
7 0

Answer:

if full_admission_price = f and discount_amount = d

=> Price of a discount admission = d/f

total_weight

quantity

weight of one item = total_weight/quantity                      

for i in range(80, 18, -2):

   print(i, end=' ')

Explanation:

The first two questions are just mathematical to get a single quantity given some relationship. So, its basically division

For the python code, I used the python's range function which takes in three arguments. The first one is the starting value, the second one is the terminating value which is the number before the terminating value and the last one specifies the common difference popularly known as step in the language. Since the step is 2, only even numbers are printed out. In the print function, I made use of the end keyword specifying a space (' ') as the end. This ensures that the print is done in the same line with a space seperating them. Without that specification, each result will printed in a newline

You might be interested in
What is one major component that would not be found in a tablet or phone, and how has modern computing made that component less
IRISSAK [1]

Answer:

A hard drive

Explanation:

Since tablets and phones are compact, they are better off not having a big, giant, bulky storage device like hard drives. Modern computing made hard drives less important by developing Solid-State Drives (SSDs) and extremely dense (512 bit) storage that can provide the same if not more storage than a traditional hard drive at the fraction of the size.

5 0
3 years ago
Read 2 more answers
To rearrange the data on your hard disk so your computer can run more efficiently, you use ____.
Ratling [72]
A disk optimization program, but they're probably looking for defragmenting program.
5 0
3 years ago
What is an algorithm?A. a series of actions that solve a particular problem.B. an English description of a problem to be solved.
Elena L [17]

Answer:

A. a series of actions that solve a particular problem.

Explanation:

An algorithm refers to step by step instructions used to fix a problem and they are used for tasks like make calculations and process data. Algorithms are important for computers to be able to process information as they provide the instructions on how a task has to be performed. According to this, an algorithm is a a series of actions that solve a particular problem.

4 0
3 years ago
Computers that are connected to each other, but not to the internet,
Sladkaya [172]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

Computers that are connected to each other, but not to each other - is an intranet.

Because in intranet computers are connected to each other within an organization and don't connect to the internet. In the intranet, computers don't access globally. For example, in banking, the banking system can be accessed within the organization but not from outside as on the internet.

While it is noted that the Internet is a globally-connected network of computers that enables people to share information and communicate with each other. An intranet, on the other hand, is a local or restricted network that enables people to store, organize, and share information within an organization.

7 0
3 years ago
Which is considered both an input and output device?
Marina86 [1]

Answer:

speaker

Explanation:

its the one that gives sounds

6 0
2 years ago
Read 2 more answers
Other questions:
  • A technician wants to create a new partition on a new additional hard drive. what tool should be used?
    15·1 answer
  • Which of the following can be created when two tables contain a common field?
    14·1 answer
  • Jim is in the market for a car that will last for the next 10 years and has saved up some money for the purpose of a car. What’s
    12·1 answer
  • A data flow cannot go directly back to the same process it leaves. There must be at least ________ other process(es) that handle
    15·1 answer
  • _________________ ___________________ is an encrypted code that a person, website, or organization attaches to an electronic mes
    9·1 answer
  • Steve left his computer switched on in his room and went out to have breakfast. When he returned, he saw that the monitor had be
    9·1 answer
  • The options on the Ribbon will____:
    11·1 answer
  • I need help picture above
    8·2 answers
  • Briefly explain the emerging trends in micro computer technology in relation to size
    10·1 answer
  • When trying to upload assignment on canvas wont let me click choose file.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!