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)

Answers

Answer 1

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.


Related Questions

Find the max and min of a set of values using recursion Find the max and min of a set of values using recursion. First input the values. The first value inputted is the number of additional data items to input. For instance, if the input is: 3 1 2 3

Answers

Answer:

This question is answered using Python programming language

def MaxSet(mylist, count):  

     if (count == 1):  

           return mylist[0]  

     return max(mylist[count - 1], MaxSet(mylist, count - 1))  

def MinSet(mylist, count):  

     if (count == 1):  

           return mylist[0]  

     return min(mylist[count - 1], MinSet(mylist, count - 1))  

count = int(input("Length of set: "))

mylist = []  

for i in range(count):

     inp= int(input("Input: "))

     mylist.append(inp)

   

print("Minimum: "+str(MinSet(mylist, count)) )

print("Maximum: "+str(MaxSet(mylist, count)) )

Explanation:

This defines the recursion that returns the maximum

def MaxSet(mylist, count):  

This following checks for the maximum using recursion

     if (count == 1):  

           return mylist[0]  

     return max(mylist[count - 1], MaxSet(mylist, count - 1))  

This defines the recursion that returns the minimum

def MinSet(mylist, count):  

This following checks for the minimum using recursion

     if (count == 1):  

           return mylist[0]  

     return min(mylist[count - 1], MinSet(mylist, count - 1))  

The main begins here

This prompts user for length of set

count = int(input("Length of set: "))

This defines an empty list

mylist = []  

The following iteration gets user input

for i in range(count):

     inp= int(input("Input: "))

     mylist.append(inp)

This calls the minimum function    

print("Minimum: "+str(MinSet(mylist, count)) )

This calls the maximum function

print("Maximum: "+str(MaxSet(mylist, count)) )

According to a survey of hikers on a trail, 50% of the hikers like Gatorade (G) and 40% like energy bars (E). 20% like both. Assume random selection:____________ a. Find the probability that a hiker likes Gatorade or energy bars b. If a hiker likes Gatorade, find the probability that he likes energy bars c. If a hiker likes energy bars, find the probability that he likes Gatorade.

Answers

Answer:

Explanation:

As per given data

Probability hikers like Gatorade (G) = P(G) = 50% = 0.5

Probability hikers like energy bars = P(E) = 40% = 0.4

Probability hikers like both = P(G and E) = 20% = 0.2

a)

To find the probability that a hiker likes Gatorade or energy bars use the following formula

P(G or E) = P(G) + P(E) - P(G and E )

P(G or E) = 0.5 + 0.4 - 0.2

P(G or E) = 0.7

b)

To find the probability that a hiker likes Gatorade or energy bars use the following formula

P(E|G) = P(E and G)/P(G)

P(E|G) = 0.2/0.5

P(E|G) = 0.4

c)

The probability that he likes Gatorade.

P(G|E) = P(G and E) / P(E)

P(G|E) = 0.2 / 0.4

P(G|E) = 0.5

Select the correct navigational path to edit the name of a cell range using name manager

Answers

Answer:

Formula, Name Manager, Edit

Explanation:

for work

Answer:

Formula, Name Manager, Edit

Explanation:

Just did the assignment for Edge 2021

Plz click the Thanks button :)

<Jayla>

select all the apply. Effective presentations

Answers

Answer:are influenced by their setting, are consistent in their message, and are tailored to their audience.

Explanation:

Correct on Edge 2020

Aubrey is on a Windows machine. She wants to back up her Halloween pictures on an external hard drive. Which of the following tasks is she likely to perform as part of a sequence of actions do that? Right-click the file and choose the Copy option. Open the application and select the File menu. Right-click the file and select the Delete option. Go to the location where you want to save the file. Right-click an empty area and select the Paste option.​

Answers

Answer:

Right-click the file and choose the Copy option, Go to the location where you want to save the file, Open the application and select the File menu, and Right-click an empty area and select the Paste option.

Explanation:

You would not need to Right-click the file and delete it to back up her Halloween photos, but you would need to upload them to an external application. To do that, you would basically do every step besides right-clicking and deleting the file (Right-click the file and select the Delete option)

Answer: A, D, E

Explanation: correct on Plato, plus you wouldn’t select the file menu or delete the files.

helpppppppppppppppppppppppppppppppppppppppp

Answers

Answer:

the can us microsoft excel

Write code that generates a random odd integer (not divisible by 2) between 50 and 99 inclusive.

Answers

import random

nums = [x for x in range(50,100) if x%2!=0]

print(random.choice(nums))

We use a list comprehension to create a list of the odd numbers between 50 and 99. Then we randomly choose one of those numbers using the random module.

Find io(t) for t > 0 in the network in the circuit. (Hint: 1. Find C equivalent first. 2. This is a First Order System)

Answers

Answer:

hello your question is incomplete attached below is the complete question

answer : [tex]( 2/3 - 8/3 e^{-1.875t} ) In A \geq 0[/tex]

Explanation:

attached below is a detailed solution

Finding  io(t) for t > 0 in the network in the circuit.

[tex]( 2/3 - 8/3 e^{-1.875t} ) In A \geq 0[/tex]

The "persistent interrupt" is a bug in the code that exhibits a behavior that’s similar to an infinite loop. The ISR exits and gets called back immediately an infinite amount of times even though the interrupt event occurred once. The persistent interrupt occurs when three conditions are met. What are these conditions? How do we avoid a persistent interrupt from occurring?

Answers

Answer:

1. the 3 conditions have been listed below

2. to avoid persistent interrupt, we break any of the 3 conditions.

Explanation:

The persistent interrupt occurs when these three conditions below are met.

They are as follows:

1. GIE=1

2. xIE=1

3. xIFT=1

in avoidance of the persistent interrupt from occurring, we break any of these 3 conditions that I have listed above.

in order To break any one of the 3 conditions, we clear the flag that corresponds to the associated

we can also avoid the persistent interrupt occurrence by having the Interrupt Service Routine (ISR) clear maybe one or all of the three bits mentioned above before the ISR terminates, so it wouldn't get called back again. clearing any of the bits will not allow the ISR to be called again.

help plzzzzzzzzzzzzzzzzzzzzzzzzz

Answers

B, Parallel ports are faster than serial ports.

A parallel port can move a set of 8 bits at a time on eight different wires, it uses a 25 pin connector, called a DB-25 connector, whereas a serial port only has a DB-9 connector.

Which of the following will increase the level of security for personal information on a mobile device if the device is lost or stolen

Answers

Answer:

this is a very cool day for me yeah know

I would simply just say it is what it ez

If a system's instruction set consists of an 8-bit opcode, what is the maximum number of output signal lines required for the control unit?
A) 8 B) 64C) 128 D) 256

Answers

Answer:

D. 256

Explanation:

Given

[tex]Instructions = 8\ bit[/tex]

Required

Determine the maximum number of output

To get the required value, we make use of the following:

[tex]Maximum = 2^n[/tex]

Where n is the bits of the opcode.

i.e.

[tex]n = 8[/tex]

Substitute 8 for n in [tex]Maximum = 2^n[/tex]

[tex]Maximum = 2^8[/tex]

[tex]Maximum = 256[/tex]

Hence, option D answers the question

Olivia wants to send a report to her boss concerning an upcoming project. Which communication format should she use to send a formal message to her boss? A. email B. chat C. forum D. blog

Answers

Answer:

A. Email. It is formal

Explanation:

Answer:

Email

Explanation:

Describe two circumstances where access services might get implemented by organizations please.​

Answers

Answer:

Answered below

Explanation:

Remote access enables access to an organisations network from remote places. Certain conditions require such access. An organisation might require their workforce to work from home especially in this coronavirus health pandemic situation. Therefore remote access is necessary.

Also attending to customers needs, virtual meetings and connections to workers and clients all over the world, can only be made possible by the implementation of secured remote access, by the organisation.

The ________ feature introduced by instant messaging shows whether a person is logged in and available to answer a question, pick up the phone, or stop by for a brief meeting.

Answers

Answer:

The correct approach is "Presence awareness".

Explanation:

The willingness, at designated occasions, to see which one is available on the internet. When using the IM framework, that very many IM systems show a list of user groups attached to the system. A current model of the IGI Social website is being used by oneself. With either the growing prevalence of Internet chat apps, a Presence Awareness model has been proposed by German IT professionals.

Which of the following tasks could be implemented as a filter using only a constant amount of memory (e.g., a couple of int or double variables and no arrays)? Mark all that apply.
For each, the input comes from standard input and consists of n real numbers between 0.0 and 1.0.

Print the sum of the squares of the n numbers
Print the maximum and minimum values of the n numbers
Print the percentage of numbers greater than the average of the n numbers
Print the median of the n numbers
Print the average of the n numbers
Print the n numbers in uniformly random order
Print the n numbers in increasing order

Answers

Answer:

Print the sum of the squares of the n numbers

Print the percentage of numbers greater than the average of the n numbers

Print the median f n numbers

Explanation:

The computer programs have different configurations based on the assigned tasks. The constant amount of memory is used by the cache. This is the new technology in the computer software which consumes only small amount of memory and activates once the task is assigned to it.

Create a formula for sheet Inventory that highlights any rows where the Reorder level is below the On Hand level in yellow on excel 2016. Will mark brainliest if you can tell me how.

Answers

Answer:

Highlight the actual inventory level column and click on condition formatting, click on the drop-down button and select "Formula is" to input the formula "=B4 <= C4", select the color pattern to format the row if the condition is met and click ok.

Explanation:

Assuming the reorder level (column C4 and the on-hand level or actual inventory (column B starting at row 4) are columns in the Excel worksheet. The reorder level is the minimum level of inventory before inventory is populated. So the formula compares the value of the actual level with the reorder level, if any row is less than or equal to the reorder level, the row is formatted with the selected color.

Answer:

Highlight the actual inventory level column and click on condition formatting, click on the drop-down button and select "Formula is" to input the formula "=B4 <= C4", select the color pattern to format the row if the condition is met and click ok.

Explanation:

The digital EGR valve used on GM 3800 engines allows for how many different EGR flow rates?

Answers

Answer:

Is this an engine

Explanation:

Lola wants to install an add-in in Excel.She has to unblock the add-in to allow Excel to open the add-in file automatically.To do this,she right clicks on the add-in file and selects an option from the menu. What could the option be?
A) Copy
B) Delete
C) Rename
D) Properties

Answers

Answer:

The correct answer is:

Properties (D)

Explanation:

First of all, option D (Properties) is the option that makes the most sense in this scenario, because the other options: Copy, Delete, and Rename are unrelated commands to what is to be achieved.

Secondly and more practically, an add-in file may not load in excel, and most of the time it is blocked by default and has to be unblocked. The following steps are used:

1. close Excel if it is open

2. open the folder where the add-in file is located, right-click on the add-in file, and select "properties"

3. a display tray will appear, having the attributes: Read-only, Hidden, Advanced, and unblock. Click the checkbox against "unblock" and make sure it is checked.

4. click Apply and Click Ok

Voila, your add-in file is unblocked.

N:B The Images are for steps 2 and 3

Which program will have the output shown below?
15
16
17
>>> for count in range(17):
print(count)
>>> for count in range(15, 17):
print(count)
>>> for count in range(15, 18):
print(count)
>>> for count in range(18):
print(count)

Answers

Answer:

>>> for count in range(15, 18):

   print(count)

is the correct answer

Explanation:

Write the HTML for a paragraph that uses inline styles to configure the background color of green and the text color of white.

Answers

Answer:

The full form of HTML is Hyper Text markup Language

Explanation:

HTML stands for Hyper Text Markup Language. It is a programming language. It is a standard markup language that is designed for the documents to be displaced in the web browser. It is used to structure the content of a web page.

The HTML is

<html>

<body>

<p style="bg-color:green;" "color=white;">This is paragraph study</p>

</body>

</html>

Is the willingness to put a customer’s needs above ones own needs and to go beyond a job description to achieve customer satisfaction

Answers

Answer:

customer-serious orientation

Explanation:

Customer-serious orientation can be defined as the willingness to put a customer’s needs above ones own needs and to go beyond a job description to achieve customer satisfaction.

This ultimately implies that, a customer-serious oriented business firm or company puts the needs, wants and requirements of its customers first without considering their own needs in a bid to satisfy and retain them.

Hence, customer-serious orientation requires the employees working in an organization to show and demonstrate positive attitudes and behaviors at all times.

A technology that can help a student to increase his or her understanding of the vocabulary used in a classroom is called:_______

a. assistive instruction.
b. UDL technology.
c. hypertext software.
d. adaptive instruction.

Answers

Answer:

c. hypertext software.

Explanation:

In Computer science, a hypertext can be defined as textual informations that are being displayed on a computer system and these texts usually links to other informations (texts) that the user can easily have access to in real-time.

Basically, some developers include encyclopedias and dictionaries in their software database, which makes other necessary informations or contents easier and immediately accessible to the users through the use of hypertexts that is activated by pointing and clicking on the link with a mouse, keypress set or soft touching the screen.

Hence, a technology that can help a student to increase his or her understanding of the vocabulary used in a classroom is called hypertext software.

how do i change my desktop theme on my chromebook?

Answers

Answer:

open Chrome.

At the top right, click More. Settings.

Under "Appearance," click Themes. You can also go to the gallery by visiting Chrome Web Store Themes.

Click the thumbnails to preview different themes.

When you find a theme you'd like to use, click Add to Chrome.

Explanation:

Which career qualification is unique to the Energy Transmission career pathway and not to the Energy Distribution pathway? color vision for identifying differences in colored wires critical thinking and reasoning skills for analyzing information stress management for handling urgent tasks mechanical knowledge and ability to drive and operate machinery working well with customers and being friendly

Answers

Answer:

a, c, d

Explanation:

Answer:

it is just A

Explanation:

on edge. unit test review

what is an operating system​

Answers

Answer:

the software that supports a computer's basic functions, such as scheduling tasks, executing applications, and controlling peripherals.

Explanation:

Answer:

nbv

c

.

l

lmmmm

n

pp

Explanation:

p

ll am ll..

Network Access Protection (NAP) analyses the ________ of a computer.

Answers

Answer:

virus in a virus

Explanation:

Display the order date and the ship date for all orders that were made April 1 through April 15. List the order date, ship date, order priority, and ship mode. Order the results by order_date. Do you notice anything unusual about the data? [Hint: You will need to join the orders and shipping together and use a join statement. You will need to limit the result set by the date field order_date <= to_date('04/15/2018', 'mm/dd/yyyy')This is what I was able to come up with but it still gave me an error.select orders.order_date, shipping.ship_date, orders.order_priority, shipping.ship_modefrom ordersinner join shipping on orders.order_date = shipping.ship_datewhere Orders.Order_date = Shipping.ship_date AND Order_Date BETWEEN TO_DATE (’04/01/2018’, ‘04/15/2018’)ORDER BY Order_Date;

Answers

Answer:

SELECT Order_date, Ship_Date, Order_priority, Ship_mode

FROM orders

JOIN Shipping ON Orders.Order_id = Shipping.Order_id

WHERE Order_date

BETWEEN TO_DATE('04/01/2018', '%m/%d/%Y') AND TO_DATE('04/15/2018', '%m/%d/%Y')

ORDER BY Order_date

Explanation:

The SQL statement above queries a database with four tables shipping, orders, market and product. The query returns four columns from two tables orders and shipping, returning only rows with order dates between April 1 and April 15 of 2018. The tables are joined with the primary key order_id and the dates are parsed with the to_date function. The result is also ordered by the order_date

Identify a security context of interest to you. Within this context, what constitutes a direct benefit of a risk management strategy? An indirect benefit? Provide examples.

Answers

Here,the Preparedness of the National(National Preparedness), that which gives a description of mission areas and also provide a framework for the consideration of management of risk.

It gives an illustration of the relationship of the National preparedness mission elements of risk.

Activities aimed at prevention are also associated with the efforts for the addressing of protection efforts generally address vulnerabilities recovery efforts.

However,we see that efforts of mitigation transcends vulnerability and also consequence spectrum.

Here,the PPD-8 mission areas are central,and this is to enhance national preparedness and also for infrastructure risk management activities.

When these are developed,they contribute to the achievement of resilient and secure critical infrastructure,and these critical infrastructure risks are however seen as part of setting capability targets.

THREAT AND HAZARD IDENTIFICATION AND RISK ASSESSMENT.

"THIRA" gives a provision of an approach for the identification and assessment of risks and also the associated impacts.

Determination that THIRA process has been completed by jurisdiction,then you consider the results when undergoing the assessment of risks to critical infrastructure.

Best of Luck
for your work and
d
Best wishes for you
.​

Answers

oh, why thank you same to you

Awwwww thank you
( please mark brainliest)
Other Questions
why is judas maccabeus considered a hero? Fill in the blank. By controlling _______, early humans were able to eat a more varied, nutritious diet. I need help :) plss with this question What expression could be used to determine the product of -4 and 3 1/4 What is the equation of this graphed line? His car refused to start. *O IdiomO MetaphorO SimileO PersonificationO HyperboleExplain why could somebody helppp meee pleaseeeeee The informational flyer was provided as a ______________ to the lecture.a.complementb.contradictionc.complicationd.conceptPlease select the best answer from the choices providedABCD Point Q' is the image of Q(-7,-6) under the translation (x, y) + (x+12, y + 8).What are the coordinates of Q'? simplify (5i-2i) (2+6i)-(4-i) show all work Using complete sentences, describe how you could slice a cube with a plane and get a cross section of an equilateral triangle. If you wish, you may include a drawing in your answer. Asthma is a condition in which it can be very hard for a person to breathe in enough air. Would it also be difficult for someone with asthma to exercise? What convinced Germany to sign an armistice ending World War I? A. Frances demand for justice from Germany B. Britains call for punishment against GermanyC. the Big Fours tough stance at the peace conference D.the United States Fourteen Points plan for peaceAnswer is D Read the passage from A New Astronomy, by David Todd.From Polaris a line of small stars curves toward the handle of the Dipper, meeting the upper one of a pair of the third magnitude. This pair, with another farther on and parallel to it, form the 'Little Dipper,' Polaris being the end of its handle. The group is Ursa Minor. Opposite the handle of the great Dipper, and at about the same distance from Polaris, are five rather bright stars forming a flattened letter W. They are the principal stars of Cassiopeia.What strategy does the author use in his choice of language to convey his message?persuasive influencefacts and statements sequence of eventsexperts logic and reason The average distance from the sun to the planet venus is about 1.08943 x 108 km. The radius of a human hair is about 0.00125 cm. A) what is the distance from the sun to venus written in standard form? B) what is the radius of a human hair written in scientific notation?C) In comparing the measurements in parts a and b what must be done before a comparison is made? Buddy and his team have been asked by NASA to make a space shuttle cake (a scale model shaped like the one to the left) for a fundraising event. The original space shuttle has a height of 184 ft and a wingspan of 78 ft. Buddy and his team decide to construct the cake on-site so that they do not have to worry about transporting it. Buddy decides to make a cake with a wingspan of 10 ft and asks one of his decorators, Ivette, to calculate the height of the cake. Ivette decides that the cake should be approximately 4 ft tall. ANSWER NOW PLEASE!!!to improve roads.After 1910, local municipalities faced increasing pressure fromA. the federal governmentB. the mining industryC. automobile ownersD. tourists and other visitors The internet's data gathways rely on what kind of hardware devies to route data to its destination? Jeff is a police officer, and he is filling out the paperwork for a search warrant. What must he sign that indicates, under oath, that the facts he has written are true? A motorboat moves across a lake. It begins at 50km from shore after 9 minutes it is 14 km from shore. Whats its distance from shore in a function