what is a "for loop" that will produce the following output:

1+2 = 3
2+3 = 5
4+5 = 9
8+9 = 17
16+17 = 33
32+33 = 65
64+65 = 129

any help would be very appreciated

Answers

Answer 1

Answer:

128+129= 257

Explanation:

128+129= 257

Answer 2

Answer:

1+2= 3

loop for all interger


Related Questions

LANGUAGE IS PYTHON PLEASE HELP.

Write a while loop that repeats while user_num ≥ 1. In each loop iteration, divide user_num by 2, then print user_num.

Sample output with input: 20
10.0
5.0
2.5
1.25
0.625

Answers

10.0 + 5.0 + 2.5 = 17

PLEASE HELP ASAP WILL GIVE BRAINLYEST

Answers

A

B

C

D

Web camera   C

Printer   D

Hard Drive   A

Microphone   C

DVD    C

Scanner    C

CPU    B

Monitor     D

Write a program that reads numbers from the user until a blank line is entered. Your
program should display the average of all of the values entered by the user. Then
the program should display all of the below average values, followed by all of the
average values (if any), followed by all of the above average values. An appropriate
label should be displayed before each list of values.

Answers

Answer:

nums = []

while True:

   in = input()

   if in:

       nums.append(in)

   else:

       break

if nums:

   avg = sum(nums) / len(nums)

   for i in range(len(nums)):

       if nums[i] == avg:

           print(f"index: {i+1}")

           print(nums[i])

else:

   print(-1)  # if there aren't any values in nums

Explanation:

Assuming that you are coding in Python 3x. The last 'else' statement is an edge case that you might want to consider, I don't know what you want to put there, but I'm just going to leave it as -1.

Python 3.12 LAB: Input and formatted output: Right-facing arrow Given input characters for an arrowhead and arrow body, print a right-facing arrow. Ex: If the input is: * # Then the output is: # ******## ******### ******## #

Answers

The code below prints the required shape using the string manipulations in Python.

In Python, if we multiply a character with a number, we get that character side by side that number of times.

For example: 6 * '#' would give us → ######

Also, we can use + sign to concatenate the strings.

For example: 'hi' + ' there' would give us → hi there

We use this approaches to print the required shape line by line.

Comments are used to explain each line.

The output is attached as an image.

#get the characters from the user

base_char = input()

head_char = input()

#set first row with 6 spaces and 1 head_char

row1 = 6 * ' ' + head_char

#set second row with 6 base_chars and 2 head_chars

row2 = 6 * base_char + 2 * head_char

#set third row with row2 and 1 head_char

row3 = row2 + head_char

#print the rows to draw the shape

print(row1)

print(row2)

print(row3)

print(row2)

print(row1)

You may see another question at:

https://brainly.com/question/22101725

which is NOT a basic human sense used in collecting collecting data?

Answers

Answer:

Explanation:This section outlines some of the key considerations that may arise during various steps in the data collection process. There is no requirement that these steps be followed or pursued in the order that they are written. The model presented is offered as a reference tool. How data is gathered and analyzed depends on many factors, including the context, the issue that needs to be monitored, the purpose of the data collection, and the nature and size of the organization.

List 2 negative impacts of cybersecurity.



Answer and I will give you brainiliest ​

Answers

Answer:

Cyber security can be used for good but nevertheless some people will find ways to do bad things. Basically the negative impacts of cyber security is the opposite to the good type of cyber security they take advantage of it and exploit computer system to do what they want. An example to this is planting a malware on the victim's computer or using a DDOS attack on a WiFi router the possibility are endless.

Please please help I don’t understand this

Answers

Answer:

It is this because yass

Explanation:

And yes

Answer:

Yes it is this because yes

Explanation:it is this because

________(fill in the blank)in online education is intrinsically related to equity.
Accessibility
Communication
Professionalism

Answers

Accessibility is the answer

A team member who feels uncomfortable when disagreeing with another team member is likely from a(n) _______(fill in the blank) culture.
competetive
individualistic
collectivistic

Answers

collectivistic culture

A team member who feels uncomfortable when disagreeing with another team member is likely from a collectivistic culture.

What is a collectivistic culture?

Personal identity is the element in a collectivist culture where ties between persons and relationships with other group members are crucial.

People who are kind, helpful, trustworthy, and considerate of others are viewed favorably in collectivist cultures.

While individualism emphasizes the importance of each person's rights and interests, collectivism emphasizes the value of the group. Individualism places a strong importance on independence and self-identity, whereas collectivism places a high value on togetherness and selflessness.

Therefore, the correct option is c, collectivistic culture.

To learn more about collectivistic culture, refer to the link:

https://brainly.com/question/10230027

#SPJ2

What is one still image in a film or video called?
unit
frame
stand
selection

Answers

Answer:

frame

Explanation:

the answer is frame ;)

Answer:

Frame

A still frame is a single static image taken from a film or video, which are kinetic (moving) images. Still frames are also called freeze frame, video prompt, preview or misleadingly thumbnail, keyframe, poster frame, or screen shot/grab/capture/dump

Explanation:

Pls mark as brainliest

What type of classroom enable students to attend lectures without being physically present with the teacher?

Answers

The answer is online learning since the virus happens alot of schools have been swtiching to online learning. It doesn't require anyone to be pychically present in class and there alot of platforms to do online learning.

List 2 positive impacts of cybersecurity.




**Answer and I will give you brainiliest**​

Answers

Answer:

Protection for your business and Increased productivity

Explanation:

This is because it ensures your employees aren't at risk from potential threats and, since there no virus, the computers will work well (not slow down)

Explain what is the difference between a "Mode Switch" and a "Process Switch".

Answers

Answer:

The main difference between mode switch and process switch is that mode switch changes the process privilege between modes like user mode and kernel mode while process switch changes the process state between different states. These processes then load into the main memory for the CPU to execute them.

Explanation:

How many times will the loop body execute:
for i in range(5,9)
A) 1
B) 2.
C) 3
D) 4



I think it’s a But I don’t know

Answers

I’d also say B, which is 2

Assume that two students are trying to register for a course in which there is only one open seat. What component of a database system prevents both students from being given that last seat?

Answers

Answer:

Transaction isolation

Explanation:

The student that has initiated the transaction before the other one will be given the seat. The database will be locked for the second student during the period of transaction of the first student. The transaction isolation level is a state within databases that specifies the amount of data that is visible to a statement in a transaction, specifically when the same data source is accessed by multiple transactions simultaneously.

The component of the database that prevents both students from getting the last seat is: transaction isolation

Data that enters the database are expected to maintain accuracy and also be consistent with the database structure.

So, when both students request for the last seat, the possibilities are:

Student A gets the seatStudent B gets the seat

The following is not a possibility

Both students get the seatNone of the students gets the seat

The above highlights means that, only one of the students would get the seat.

This is possible because of the concept called transaction isolation.

The transaction isolation ensures that the data requested by a user is complete and such data maintains competency.

So, when a student gets the last seat, the next student would not get the same seat (or any other seat), because a transaction has already been completed.

Read more about transaction isolation at:

https://brainly.com/question/13030145

Please help me with these questions please

Answers

Answer: i think its 30.

PLEASE HELP I WILL GIVE BRAINLYEST

Answers

Answer:

I am guessing photoshop

Explanation:

Photoshop is also under the Adobe company of graphics designs

How to do this programming?

Answers

Answer:

let bread = 12.50

let chicken = 45.48

let total = chicken + bread

let tax = 62.04 - total

PYTHON: Define a function calc_pyramid_volume() with parameters base_length, base_width, and pyramid_height, that returns the volume of a pyramid with a rectangular base. calc_pyramid_volume() calls the given calc_base_area() function in the calculation.

Relevant geometry equations:
Volume = base area x height x 1/3
(Watch out for integer division).

Sample output with inputs: 4.5 2.1 3.0
Volume for 4.5, 2.1, 3.0 is: 9.45

def calc_base_area(base_length, base_width):
return base_length * base_width

''' Your solution goes here '''

length = float(input())
width = float(input())
height = float(input())
print('Volume for', length, width, height, "is:", calc_pyramid_volume(length, width, height))

I've been trying all morning but I can't seem to figure this one out. I might be overthinking it, but I haven't been able to get it to work.

Answers

Answer:

def calc_pyramid_volume(base_length,base_width,pyramid_height):

   base_area=base_length*base_width

   volume=base_area*pyramid_height*(1/3)

   return volume

Explanation:

Here you go, fellow cs 105 student. Copy and paste it all into the box.

did y’all enjoyed project next phase 3 and The 4 revamped heroes

Answers

Answer:

it was good i liked it

Explanation very good

What type of device is OMR input or Output

Answers

Answer

input

Explanation:

modern ones are now input

Which of the following responses is the best example of a problem that can be solved using a computer program?

What flavor of ice cream has sold the most?
What toy will my puppy like the most?
Which flavor of ice cream is my favorite?
Who should I ask to the school dance?

Answers

Answer: a)

Explanation: because the program going to compare the amount of each ice cream flavor have been sold.

Which of the following is the first step to writing an algorithm?
making a plan
carrying out a plan
extending the problem
understanding the problem

Answers

Answer:

Making a plan

Explanation:

Usually you will get stuck on some problems while making an algorithm, so you should make a plan to push forward more easier.

Answer: understanding the problem

Explanation:

Because you have to understand the problem before making a plan

BRIANLIEST!!!!!!!!!!!!!!!!


Which of the following types of indents shown in the image?

○ Hanging indent
○ Right indent
○ First Line indent
○ Decrease indent​

Answers

The First Line indent is shown in the image. Thus, option C is correct.

What is an indent?

An indent is a spacing that results from spacing a block of information farther inside than just the surrounding content. To the right of the start of the following line, an indentation for the inaugural line appears. Many parts must follow first-line spacing according to APA standards.

The very first sentence about a partnership that follows a headline or chapter title is not indented, as was mentioned in the previous section.

The tab key on just about any keyboard automatically indent each sentence that comes after it for you. The different layout is occasionally recommended for specific sorts of writing, including research publications and internal memos. Therefore, option C is the correct option.

Learn more about indent, here:

https://brainly.com/question/12090649

#SPJ6

if the middle number is lesser than the candidates then u eliminate the ___ half of the data​

Answers

Answer:

kimochisiwiwie282828

#2 i
Write -0.312 as a fraction in simplest form.
-0.312 =
-
What’s the answer

Answers

Answer: 39/125

Explanation:

When working with a shared worksheet, how do you know it's shared?
The word "Shared is saved in the name of the file.
The email in which you received the file says "Shared."
The word "Shared" appears after the workbook title in the title bar.
The word "Shared" appears at the bottom next to the worksheet tabs.

Answers

Answer:

The Word shared appers in the email and appears next to the worksheet tab

Explanation:

Hope this answers your question :)

Answer:

C

Explanation:

hope this helps :)

Project: Current Event: Cyber Bullying
Using the Internet, your local paper, or other resources, find a recent article on cyber bullying
(published in the last two years). Write an article review that includes:
1. a description of the article (was it a case of cyber bullying or ways to prevent cyber bulling?);
2. list five key points and describe how they apply to you and your use of social media;
3. make a suggestion of two important things that you think the article should have, but did not
cover; and
4. include the URL to the article or a copy of the article.

Answers

Sending, posting, or disseminating unfavorable, hurtful, or malicious content about someone else is considered cyberbullying. It can also involve disclosing sensitive or private information about another individual in a way that causes embarrassment or humiliation.

What are the research paper's impacts on cyberbullying?

The current study contributes to the expanding corpus of research on the effects of being a victim of cyberbullying on depressive symptoms and bad thoughts in adolescents and young adults. According to our research, those who experience cyberbullying are more likely to have sadness and bad thoughts. Cyberbullying occasionally veers into illegal or criminal action.

Teenagers who experience cyberbullying report more severe bodily symptoms, anxiety, loneliness, and depression symptoms. Cyberbullying perpetrators are more likely to admit to abusing drugs, acting aggressively, and engaging in delinquent behavior.

To know more about the Cyber Bullying visit;

https://brainly.com/question/1460915

#SPJ1

How to write a C++ program that allows a user to enter their rating of the three movies in the Dark Knight Trilogy and then display each rating entered, the highest rating, the lowest rating, and the average of the ratings??

Answers

The program is an illustration of arrays.

Arrays are used to hold multiple values in one variable.

The program in C++ where comments are used to explain each line is as follows:

#include <iostream>

using namespace std;

int main(){

   //This declares an array of three elements for the three ratings

   int ratings[3];

   //This initializes the sum of the ratings to 0

   int total = 0;

   //The following iteration gets input for the three ratings

   for(int i = 0; i<3;i++){

       cin>>ratings[i];

       //This calculates the sum of all inputs

       total+=ratings[i];

   }

   //This declares and initializes the lowest and the highest ratings

   int lowest = ratings[0], highest = ratings[0];

   //This iterates through the array

   for(int i = 1; i<3;i++){

       //The following if condition determines the lowest rating

       if (lowest > ratings[i]){    lowest = ratings[i];        }

       //The following if condition determines the highest rating

       if (highest < ratings[i]){            highest = ratings[i];        }

   }

   //This prints the output header

   cout<<"The ratings are: ";

   //The following iteration prints the three ratings

   for(int i = 0; i<3;i++){

       cout<<ratings[i]<<" ";   }

   //The prints the highest ratings

cout<<endl<<"Highest: "<<highest<<endl;

   //The prints the lowest rating

   cout<<"Lowest: "<<lowest<<endl;

   //The prints the average rating

cout<<"Average: "<<total/3<<endl;

   return 0;

}

At the end of the program, the ratings entered, the highest rating, the lowest rating, and the average of the ratings are printed.

See attachment for sample run

Read more about similar programs at:

https://brainly.com/question/13261254

F
Х
Which is a feature of fairy tales in "A Modern Cinderella"?
O A. It begins with "Once Upon a Time."
O B. It includes pictures.
O C. It has a humorous tone.
Is it a b c or d that’s what I’m loo

Answers

Answer:

everything

A.

B.

C.

NOOO.

Other Questions
How many grams of sodium carbonate (Na2CO3) are needed to produce 6.78moles of sodium chloride (NaCl). the molar mass of sodium carbonate is 10599 g/mol. A traffic camera sits on top of a tower that has a height of 39 ft. The angles of depression of a car on a straight road at the same level as that of the base of the tower and on the same side of the tower are 31. Calculate the the distance between the base of the poll and the car. Round to the nearest tenth of a foot. * pls helpRead the definition. fair n. 1. a gathering of sellers 2. a place to display work, goods, or animals adj. 1. without bias or prejudice 2. pale in color Which sentence correctly uses the word fair according to the first adjective definition? At the book fair, I purchased a well-read and obviously much-loved copy of Jane Eyre. Ned Dodson presented his prized hog at the county fair last Saturday. I expected a fair and impartial reading of the court case, but the judge clearly favored the plaintiff, who just happened to be his golfing buddy. My fair, freckly cousin slathered on a thick layer of sunscreen before heading to the beach. The mean of a set of numbers is 8, and the mode is 9.Which of the following sets of numbers do these values describe?3, 7, 9, 9, 10, 141, 5, 8, 10, 11, 134, 6, 8, 9, 9, 123, 5, 7, 9, 12, 12 Help Please !!!,!,!,!,!! if i made 80 dollars every weekend for a year, how much would i have what does this events suggest about the turtles capacity to defend itself 20 very very very very very very very very hard Halfway through the third quarter, how much of the game is left?Write the answer as a proper fraction, Jill earns $56(y) for 1 hour ofbabysittingeach day fora week (x). HELP ASAP I NEED IT TURNT IN TODAY WILL GIVE BRRAINLEST (4,6) rotated 90 degree Create a program that: Provides access to a rolodex (list of names and contact information). Have the program accept a name to lookup and that prints the contact information of the matching name. Use an array for names and an array for email address and another array for phone numbers. Make sure that all three arrays contain corresponding information. ANSWERED Most Okies who migrated out of their home states during the Dust Bowl years sought work in __________.A.New Mexico and ArizonaB.Arizona and CaliforniaC.California and NevadaD.Nevada and Colorado PLEASEEE HELP ASAPPPP!!!! If y varies directly with x according to the relationship y = kx, and y = 7.5 when x = 2.5, determine the constant of variation k. Question 2 of 10Is AXYZ= AABC? If so, name the postulate that applies.c XGiven:ZYBXY ABYZ EBCABA. Congruent - SSSB. Congruent - SASC. Might not be congruentD. Congruent - ASA Help! Which definition entry best fits the word BREAK as it is used in the shown sentence Have a great day or night and sorry about the bad quality image Flossie blew a tire 5 minutes into the second leg, up to that point she had traveled 10 km making her speed 2 km/m. It took 2 minutes to fix her tire. Flossie had to finish within 2 minutes in order to stay even with the evil Mabel. If Flossie had 8 km left what speed will she need to win? You and your younger sister (who weighs half as much you do) are at a skating rink. You are both wearing roller skates and are facing each other. What will happen to your and your sister's motion if you push against each other?Question 1 options:You move forward and your sister moves backward at a faster rate.You both move forward, but you accelerate at a greater rate.You move backward and your sister moves forward at a faster rate.You both move backward but your sister accelerates at a greater rate.Question 2 (1 point) You are standing, completely still, on a completely flat floor. Why do you stay as you are instead of flying into the air?Question 2 options:There are no forces acting on you or the floor.Forces are only acting on the floor.All of the forces acting on you are balanced.You are exerting an unbalanced force on the floor.Question 3 (1 point) A baseball is thrown at 90 mph from east to west over a distance of 60 ft. What is true of the ball's motion?Question 3 options:Its speed is 90 mph to the west.Its acceleration is 30 mph.Its velocity is 90 mph to the west.Its acceleration is 150 mph.Question 4 (1 point) A box is pushed 7 m to the left in 3 s. What is the block's average speed to the nearest tenth?Question 4 options:2.33 m/s0.43 m/s2.3 m/s0.4 m/sQuestion 5 (1 point) graphOn a graph of distance vs. time, what is true of the motion of the object during its first 6 m of travel?Question 5 options:The object was moving at a constant speed.The object was accelerating.The object was not moving.The object was northbound. Steam Workshop Downloader