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
german
2 years ago
11

6.5 Code Practice: Question 4 Edhesive

Computers and Technology
1 answer:
tresset_1 [31]2 years ago
8 0

Answer:

Explanation:

print('Enter 10 temperatures')

sum = 0

for i in range(10):

   S = float(input())

   sum = sum + S    

print('The sum is: ',sum)

First, we print a comment asking the ten temperatures, then we declare the variable sum = 0.

We create a for cycle where the user must enter the temperatures, 10 in this case, then we must do the operation, summing the 10 numbers.

In the last step, we print the result with the variable sum.

You might be interested in
Do you have to be in hard mode in terraria to make the timeless traverler vanity set
BabaBlast [244]
Answer: it can only be crafted in corruption world unless you create an artificial corruption biome.
4 0
3 years ago
A computer has a cache and main memory. 20 ns are required to reference a word that is in the cache. If the word is in main memo
Alecsey [184]

Answer:

T_{average} =12026ns

Explanation:

Given Information:

T_{cache}=20 ns

T_{main}=60ns

T_{disk} =12ms=12,000,000ns

hit_{cache} =0.9

miss_{cache} =1-0.9=0.10

hit_{main} =0.99

miss_{main} =1-0.99=0.01

There are 3 possible cases

1. Location of reference word is in cache

T_{cache}*hit_{cache} =20*0.9=18ns

2. Location of reference word is not in cache but in main memory

(T_{cache}+T_{main})*(miss_{cache}*hit_{main}) =(20+60)*(0.10*0.99)=7.92ns

3. Location of reference word is neither in cache nor in main memory

(T_{cache}+T_{main}+T_{disk})*(miss_{cache}*miss_{main})

(20+60+12,000,000)*(0.10*0.01)=12000.08 ns

The average time required to access a referenced word on this system is simply the sum of above 3 cases

T_{average} =18+7.92+12000.08=12026ns

5 0
3 years ago
Define a class called newColor which defines the color of the text to be #ff6699.
postnew [5]

Hot Pink is #ff6699.

4 0
3 years ago
FIRST AMSWER GETS BRAINLIEST! Select the correct answer. Bob is part of the design team in his office. The information that his
puteri [66]

Answer:

Creation of a logical system structure using the gathered information

Explanation:

8 0
3 years ago
The ratio of men to women in a certain factory is 3 to 4 .There are 210 men.how many workers are there?
WARRIOR [948]

140, that's not a guess

5 0
3 years ago
Other questions:
  • Text, numbers,graphics, sounds entered into a computer's memory during input operations are referred to as
    11·1 answer
  • What processes are needed to transform a c++ program to a machine language program that is ready for execution?
    14·1 answer
  • What must be true before a motherboard can take advantage of the triple memory channels on the board?
    9·1 answer
  • ______ is a disadvantage of EDI.
    8·1 answer
  • Write a Java program that prints out a 4x4 square (like the one below)
    11·1 answer
  • You provide desktop support for a small company. The company has two locations in the same city, but they are several miles away
    6·1 answer
  • Can you please help me
    9·1 answer
  • Please help
    5·1 answer
  • Online education students need to be taught
    5·1 answer
  • What are the value and data type (float, int, bool, or str) of this expression:<br><br> 5 % 2
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!