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
nadezda [96]
3 years ago
13

Write a Python program segment, using a loop, to calculate and print the sum of the odd integers from 20 to 120. (Hint: 21 23 25

. . . 117 119)
Computers and Technology
1 answer:
julsineya [31]3 years ago
4 0

Answer:

for x in range(20,120):

   if x % 2 == 0:

       continue

   print(x)

Explanation:

in a range of 20 to 120 it does the following, if x is divisible by two as an int, then try again with a new number. If not, print that number.

You might be interested in
The collection of programs on a computer is referred to as _______________.​
schepotkina [342]
It is referred to as software

Software consists of an entire set of programs and routines linked with the operation of a computer. In other words, it is a collection of executable instructions that enable you to interact with a computer and its hardware. A computer would be rendered useless without software.

 






5 0
4 years ago
You are a game designer and are going to give a presentation to a group of high school students to try to get them interested in
KiRa [710]

Answer:

Pick a concept. Generate a few game concepts to see what kind of game you want to make. ...

Gather information. Game creation involves extensive research. ...

Start building. ...

Refine your concept. ...

Test your game. ...

Market the finished product.

Explanation:

6 0
3 years ago
What is the operating system in a computer?
vaieri [72.5K]

The answer to this question would be the last choice. The master program that controls the system hardware.

All computers require a software known as the <em>operating system</em> to properly function and allow you to use the computer. This operating system works as a "master program" that manages the computer's processes and memory.

3 0
3 years ago
Read 2 more answers
Write a Java method to delete a record from a B-tree of order n.
max2010maxim [7]

Answer:

Deleting a record on a B-tree consists of three main events:

- Searching the node where the key to be deleted exists

- Deleting the key

- Balancing the tree if required

Explanation:

q = NULL;

   p = tree;

   while (p) {

       i = nodesearch(p, key);

       q = p;

       if (i < used(p) -1 && key == k(p,i)) {

           found = TRUE;

           position = i;

           break;

       }

       p = son(p,i);

   }

   if (!found)

   else if (subtree(p)) {

         if (used(p) > ((n-1)/2)+1)

         delkey (p, position, key);

       else {

           replace (p, position, fsucc(p));

           p0 r1 p1 r2 p2 r3 ……. pn-1 rn-1 pn

           q = &fsucc(p);

           qpos = index of fsucc;

           if (used(rbrother(p)) > ((n-1)/2)+1)

               replace (q, qpos, sonsucc(q));

           else

               while (q && used(q) < (n-1)/2) {

                   concatenate(q, brother(q));

                   q = father(q);

               }

       }

   }

   else

   delkey(p, position, key);

}

6 0
3 years ago
The race car driver nicknamed Neiblemeister - master of the mist, was married to what famous female aviator?
user100 [1]
<h2>ANSWER: ELLY BEINHORN</h2>

The race car driver Neiblemeister- master of the mist, was married to <em>Elly Beinhorn</em> who was a famous female aviator. In 1936 Beinhorn married the well-known racecar driver Bernd Rosemeyer, who died in a car accident years later, only ten weeks after the birth of their son Bernd. She remarried in 1941 and within a year gave birth to a much-longed-for daughter, whom she named Stephanie.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Mike wants to build an amplifier. Which technology can he use?
    15·1 answer
  • The main circuit board in a computer is called the ________. RAM dongle motherboard power supply unit
    14·1 answer
  • Which form of Internet communication would a consumer seek out if they wanted to get personal perspectives into a company and it
    15·1 answer
  • 3. The combination of keys that we should press to select all document is
    14·1 answer
  • What is the definition of software? Group of answer choices an instruction that causes a single specific action to be performed
    11·1 answer
  • Lists and Procedures Pseudocode Practice For each situation, provide a pseudocoded algorithm that would accomplish the task. Mak
    8·1 answer
  • Write a structured algorithm that prompts the user to input the name and price of an item and the quantity purchased. It should
    10·1 answer
  • We begin with a computer implemented in a single-cycle implementation. When the stages are split by functionality, the stages do
    13·1 answer
  • Images that are made up of pixels and cannot be resized without losing quality?
    11·1 answer
  • List out any four hardware and software components required for multimedia​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!