Can somebody help me and make a code for this in PYTHON, please? I would be very thankful!

Find sum of the first n even numbers.
Without using formula (n*(n+1)).

Answers

Answer 1

Answer:

number = int(input())

x = 0

y = 0

for n in range(number):

if n % 2 == 0:

x += n

else:

y += n

print(x)

print(y)


Related Questions

These principles are essential to the design and development and production of clothing
A.Elements of matter
B.Principle of Design
C. Collor wheel
D. Collor Harmonies

Answers

Answer:

B. Principle of Design

Explanation:

Principle of Design are principles which are essential to the design and development and production of clothing.

Basically, Principle of Design comprises of the sets of rule and standard that essentially provide a framework and guide fashion designers in the creation of fashionable clothing for their clients or customers.

Hence, it is very important for all fashion designers to understand and judiciously use the Principle of Design while working on a piece of clothing.

What does IDLE stand for

Answers

Answer:Integrated Development and Learning Environment

Explanation:

Integrated Development and Learning Environment

In what ways can you sort data by using the sort procedure? Check all that apply.
sort ascending

sort descending

sort diagonal

sort by font color

sort by background color

sort by rows

sort by columns

Answers

Answer:

all except c:)

Explanation:

Answer:

1,2,4,5,6,7

Explanation:

all except C

Plz tell the answer I I'll mark u as the brainliest

Answers

Answer:

oo 89 po yyuyuyoioo9ii5645487)89)89)89)89)80(98(98(98(87)()

Explanation:

okkkkkk

In three to four sentences, describe how you can listen actively.

Answers

Answer:

Looking at the speaker, paying attention. Jotting down notes

Explanation:

This is the question

Answers

Answer:

I dont know it sorry

Explanation:

i would help u

4. Sameer appointed as journalist in big news channel. News channel has its own podcast. Explain to Sameer how podcast is useful to him and subscriber of news channel in Digital journalism.

Answers

Answer:

How podcast is useful to Sameer:

1. Since the news channel has its own podcast, it will increase traffic in this channel once the contents are what people like. This will help Sameer to be more efficient in service delivery.

2. It will be useful to Sameer if he engages his audience, as a podcast provides this opportunity.

3. Podcast helps organize thoughts and would improve Sameer's public speaking skills.

4. Sameer could use the podcast in the news channel to build a strong relationship with his listeners.

How podcast is useful to the subscriber of a news channel:

1. The subscriber could do other things at the same time as they are listening to a podcast.

2. For places where listening would only be possible for example in the car, an audio podcast would be an excellent option.

3. A subscriber can replay podcasts and hear them anytime, this shows the convenient nature of podcasts.

4. Subscribers could listen to podcasts in places where the internet may not be available.

Explanation:

Digital journalism utilizes technology like the internet to post content.

A podcast is a form of digital journalism where audio discussion or a program that would have been televised is recorded and posted on the internet where subscribers can download and listen to it through a dedicated news channel. Though video podcast exists, most are in audio format.

b. What significant values have you learned while learning the tools and utensils?

Answers

Attempts to use computer technologies to enhance learning began with the efforts of pioneers such as Atkinson and Suppes (e.g., Atkinson, 1968; Suppes and Morningstar, 1968). The presence of computer technology in schools has increased dramatically since that time, and predictions are that this trend will continue to accelerate (U.S. Department of Education, 1994). The romanticized view of technology is that its mere presence in schools will enhance student learning and achievement. In contrast is the view that money spent on technology, and time spent by students using technology, are money and time wasted (see Education Policy Network, 1997). Several groups have reviewed the literature on technology and learning and concluded that it has great potential to enhance student achievement and teacher learning, but only if it is used appropriately (e.g., Cognition and Technology Group at Vanderbilt, 1996; President’s Committee of Advisors on Science and Technology, 1997; Dede, 1998).

Which feature is used to change how a presentation moves from slide to slide?

Answers

Answer:

Click Slide Sorter on the View menu. On the Window menu, click Arrange All to display both presentations. Click the slide you want to move, and drag it to the other presentation. If you want to copy the slide across then hold down Ctrl as you drag the slide.

Explanation:

Which of the following describe audio-editing software? Choose all that apply.

syncs audio with video

is used only by professionals

modifies analog sound

modifies sound quality

mixes sound

Answers

Answer:

1,4,5

Explanation:

Multiple Select
How do you print a document?


Click on Print in the system tray.

Click on the Print icon at the top of the screen.

Select Print from the File menu.

Select Print from the Start menu.

Answers

Select Print from the File menu.

Explanation:

Other options listed are either impossible or a bit difficult to achieve. "Selecting Print from the File menu" not only allows for easy access, it also ensures that the target document is being printed without much effort. Many applications have a file menu from where certain processes could be accessed and done easily.

Hope this helps!

To print a document the correct option is select Print from the File menu.

The correct answer is (c).

Select Print from the File menu: In various applications, including word processors, PDF readers, and image editors, you can find a "Print" option in the "File" menu. Clicking on "File" and then selecting "Print" will open the print dialog box.

Therefore, To print a document the correct option is select Print from the File menu. The correct answer is (c).

To know more about the document:

https://brainly.com/question/33561021

#SPJ4

True or False: The first computers only took a couple of hours to reconfigure

Answers

Explanation:

I think it is FALSE but not completely sure

can anyone unscramble this words

Answers

Answer: The one that is gtenemamna might be management

Explanation: this is impossible but this is my best guess.

What is a return statement used for?
o beginning a function
O repeating a value
copying a function
exiting a function
DONE

Answers

Answer:

Exiting a function

Explanation:

Return simply returns a specified value at the end of a def function (if you're in python). It does not print or do anything else. You could set variables equal to a def function that returns or you could put the def function in a print statement to print the returned value.

Use the drop-down menus to complete each of the following sentences. Choose the best answer. For some external components such as flash drives and external hard drives, the safest way to remove them from a computer is to _______. Sleep mode and Hibernate mode are ________ that help you safely put your computer in a low-power state when you’ll not be using it for a period of time. Cleaning dust from your keyboard, monitor, and fans should be done _______. Magnets _______ a computer’s performance. Heat, humidity, and cold can damage a computer’s _______. You should check all computer cords for the safety of _______.

Answers

Answer:

1: eject them

2: power-saving modes

3: regularly

4: may damage

5:internals and externals

6: you and the computer

Explanation:

Answer:

1: Eject Them

2: Power-Saving Modes

3: Regularly

4: May Damage

5: Internals and Externals Components

6: You and the Computer

Explanation:

1. For some external components such as flash drives and external hard drives, the safest way to remove them from a computer is to Eject Them

2. Sleep mode and Hibernate mode are Power-Saving Modes that help you safely put your computer in a low-power state when you will not be using it for a period of time.

3. Cleaning dust from your keyboard, monitor, and fans should be done Regularly.

4. Magents May Damage a computer’s performance.

5. Heat, humidity, and cold can damage a computer’s Internals and Externals Components.

6. You should check all computer cords for the safety of You and the Computer.

FIRST PERSON GETS BRAINLIEST!!!!!!!!!!!!!!!!!!!!!!!!
Why did Jean get an error when he tried to use the variable my Grade? Variables should be one word. Variables should start with a number. Variables should always be camelcase. Variables should not have spaces.

Answers

Answer:

Variables should not have spaces

Explanation:

When you have a multi-word variable, it is convention to leave the first word lowecase  and make the first letter of the next words capital. However, mostly every programming language does not allow primitive variables with spaces.

ex: myWordVariable = 5

Answer:

variables should not have spaces.

Explanation:

It is basic knowledge that variables should not have spaces also its listed in the lesson page if you are using flvs of stuff to not use in variables. also you  never use any of python keywords

Never name a variable with any of python’s keywords  

Python Keywords    

False  

None  

True  

and  

as  

assert  

break  

class  

continue  

def  

del  

elif  

else  

except  

finally  

for  

from  

global  

if  

import  

in  

is  

while  

try  

or  

pass  

print    

return    

with    

Global  

What uses HTML hypertext links that users can click to access different locations or information?

Answers

Answer:

a button

Explanation:

I am not too familiar with HTML terminology (self-taught), but button (classes?) use hypertext links to access different locations on a website.

I'm pretty sure the syntax is something like <button = *stuff*>

what role does javascript play in a web page

Answers

Answer:

Js is an programming language usually used for coding. It is used on most browsers to produce an effective and interactive design for some users.

Write a description of the photograph to someone who cannot see the photograph. Be sure to include the title of the photograph and photographer credit in your response.

Answers

Answer:

I do not have a photo as a example but you could explain the feeling that it gives you and if its gloomy or happy go lucky you can also explain the main colors in the photo as well as the charters and/or type of object/s are in the photo

file:///media/fuse/drivefs-0142e6928396ed2afff070ead0fbbbcd/root/JerooLessonFourLabA_1.pdf
my teacher told said to clean the whole map in jeroo and plant the flowers all around how do i do it?

Answers

Answer:

it says page does not exist

Explanation:

What is the importance of different camera angles ?

Answers

Answer:

the camera angle helps the Creator to establish different relationships between the subject and even between the audience and the subjects. it's very important to master these techniques if you want to become a pro filmmaker!

Different camera angles can capture
a different point of view. This means that with a different angle and the same subject you can get different pictures that evoke different feelings.

Read the paragraph.

Several species of geese fly south in the winter to find food and mates. In fact, several geese from canada make their nests at Bartholomew park, which is only minutes from my home. My friends and I often take picnic lunches there to feed them and see their hatchlings. Of course, the number of birds in my area dwindles significantly once the seasons change.

Which two words in the paragraph should be capitalized?

south; winter
canada; park
geese; home
picnic; seasons

Answers

Canada; Park I think

Answer:

Canada; Park

Explanation:

someone please help asap!!!!

Answers

Answer:

B

Explanation:

The cost should be on the form, not user-inputed

Umm I think Is B Plz Dont choose my answer if you feel like is wrong

If you could design an app for a phone or tablet, what would it be? Explain your design in at least a paragraph.

Answers

Answer:

If i were to design an app for a phone or a tablet, it would probably be about cloth styles...

Explanation:

Sowwy but I don't have time to write a paragraph.. tho search information about this and see what you find.. hope I helped :)

Answer:

I would design  an app for hospital patients to communicate on.

Explanation:

Due to the pandemic, people admitted to the hospital for long term diseases are currently stuck in their rooms not being able to communicate with other patients on their floors. This app can fix that and help people make new friends.

python exercise c2 q4
Sam wants to write a code that will produce the following:
000
001
010
011
100
101
110
111

He doesn’t know where to start so he starts with the basic:
00
01
10
11

However, he also has trouble finishing this code. He only has a basic idea. Help him to complete the basic version first:

for i in range (0, 2):
for j in range (0, ): (1 mark)
print( i , ) (1 mark)



Now that you know the basic, complete the code that will print the chart 000, 001….all the way to 111 (Hint: look at the code you just complete. This time you probability need 3 for loops, one within another)

for i in range (0, 2):
for j in range ( , ): (2 mark)
for k in range ( , ): (2 marks)
print( , , k ) (1 mark)

Answers

Answer:

for i in range (0, 2):

 for j in range (0, 2):

   print(i , j)

and

for i in range (0, 2):

 for j in range (0, 2):

     for k in range (0, 2):

       print(i , j, k)

Explanation:

The nicer method of doing this would be:

for i in range (0, 8):

 print("{0:03b}".format(i))

What are the steps to debugging?

Answers

Answer:

The basic steps in debugging are:

Recognize that a bug exists.

Isolate the source of the bug.

Identify the cause of the bug.

Determine a fix for the bug.

Apply the fix and test it.

All of the following are examples of software, except:

Question 4 options:

Video games


Speakers


Web browsers


Photo editors

Answers

Speakers is your answer

The speaker is not an example of the software. Then the correct option is B.

What is the software?

Software is a collection of instructions, data, or computer programs used to run computers and carry out particular activities. Software instructs a computer on how to run, to put it another way.

It's a general phrase for programs, scripts, and apps that operate on computers, cell phones, laptops, and other intelligent watches. Hardware, or the actual components within a computer that does the job, competes with software.

All of the following are examples of software, except the speaker.

The actual parts of an electronic system, such as a computer, include the hardware, wiring, and other parts. Speaker is a hardware device. Then the correct option is B.

More about the software link is given below.

https://brainly.com/question/1022352

#SPJ6

When reviewing the tracked changes in a document, what are some options for addressing edits? Check all that apply. Remove all edits revert to original reject all changes accept all changes apply some changes accept and move to next

Answers

Answer:

1. reject all changes

2. accept all changes

3. accept and move to next

Explanation:

In Microsoft Word, when reviewing the tracked changes in a document, there are some options for addressing edits that are available to the computer users.

These available options are:

1. reject all changes

2. accept all changes

3. accept and move to next

To access tracked changes in a Microsoft Word document, a user will have to

> click on the Review tab,

> then go to Tracking and

> select Track Changes.

Answer:

C.) reject all changes

D.) accept all changes

F.) accept and move to next

Explanation:

When reviewing the tracked changes in a document, what are some options for addressing edits? Check all that apply.

remove all edits

revert to original

reject all changes

accept all changes

apply some changes

accept and move to next

Select the correct answer from each drop-down menu.
Look at Marta's email signature and fill in the missing elements.
In the first box the answers are:
Editor-in chief
Tel: 2472367
Date:7/6/2015

Answers

Answer:

Editor-in chef, and Tel: 2472367

Explanation:

A strong technique to present your professionalism to your readers and provide them with your contact information is through your email signature.

What is E mail?

Each email has a signature at the bottom, which helps you make a good first impression and sets you apart from your competitors.

A polished email signature contains vital details about you and your company. Your name, job title, company, phone number, address, and website link will all be listed on it.  

Although it can do much more, a genuinely professional signature will include your picture and company logo, social network icons, and a call to action.

Therefore, A strong technique to present your professionalism to your readers and provide them with your contact information is through your email signature.

To learn more about Email, refer to the link:

https://brainly.com/question/14666241

#SPJ2

Complete the following sentences by choosing the best answer from the drop-down menus. A/an _______ is a device used to protect computer against surges and spikes in power. Sleep and Hibernate are examples of _______. Regular maintenance on a computer is good for _______. Bad sectors are sections of the _______ that are physically damaged. To protect some devices such as flash drives and external hard drives from corruption, it’s best to _______ the devices.

Answers

Answer:

1. Surge protector

2. Power-saving mode

3. Hardware and software

4. Hard disk

5. Eject

Explanation:

sadly my answer has deleted here so i have to start all over again

Other Questions
Where does Lincoln give his speech? Cite specific evidence from the text to support your answer. True or false; when something heats up, New energy is created, and when something cool down, Energy is destroyed. One positive number is one-fifth of another number. The difference between the two numbers is 336, the numbers. 3 days 22 hours equals how many hours Which is the HACCP Principle sets a minimum or maximum parameter or boundary that must be met to prevent a hazard? * 5 points Conduct a Hazard Analysis Take Corrective Action Establish Critical Limits Establish Monitoring Procedures I have a close friend, I love everything about them. We have just about everything in common. We finish each others sentences, have the same taste in music and humor, we even unintentionally match ( clothing ) when ever we hangout. I love everything about them but I'm not physically attracted to them, but their on my mind24/7. What should I do lol.? Which place describes a community?A. a desert of sand, rock, hawks, and snakesB. the desertC. a forest birds, insects, and squirrelsD. a hole in which a snake lives Suppose that a recent article stated that the mean time spent in jail by a first-time convicted burglar is 2.5 years. A study was then done to see if the mean time has increased in the new century. A random sample of 27 first-time convicted burglars in a recent year was picked. The mean length of time in jail from the survey was four years with a standard deviation of 1.9 years. Suppose that it is somehow known that the population standard deviation is 1.4. Conduct a hypothesis test to determine if the mean length of jail time has increased. Assume the distribution of the jail times is approximately normal. Compare and contrast the AA similarity criterion with the ASA congruence criterion. Choose the correct answer.A. Both criteria require that two pairs of angles be congruent, but for congruence you also need to know that the included sides are congruent, so that the figures are the same size. The AA similarity criterion shows only that the two triangles are the same shape. B. Both criteria require that two pairs of angles be congruent, but for congruence you also need to know that the non-included sides are congruent, so that the figures are the same size. The AA similarity criterion shows only that the two triangles are the same shape.C. Both criteria require that two pairs of angles be congruent, but for congruence you also need to know that the included sides are congruent, so that the figures are the same size. The AA similarity criterion shows only that the two triangles are the same size.D. Both criteria require that two pairs of sides be congruent, but for congruence you also need to know that the included angles are congruent, so that the figures are the same size. The AA similarity criterion shows only that the two triangles are the same shape. 2. At the Yalta conference, the differences between the United States and the Soviet Union began to crystallize. List 2 reasons the Soviet Union distrusted the United StatesList 2 reasons the United States distrusted the Soviet Union what did Neolin recommend Indians do to preserve their independence in the face of British encroachment? Which table of values represents a linear function? ANSWER PLZ ASAP!!!!!The Carnivorous Plant ExhibitThis passage would most likely be found in a(n)??A. science fiction storyB. gardening magazine articleC. science fair invitationD. museum exhibit booklet What problems does my everyday monster cause, who does it affect, and how can it be solved? Moe and Larry each need to raise $200 to go on a trip with their school band. Mo has $35 in savings and earns $20 per week delivering papers.Larry has $60 in savings and earns $10 per we do yard work. Each student can write an equation using the following "let" statements: Let X be the number of weeks work and Y be the amount of money saved.How long will it take for a have to work to have enough money for the trip ? 17n + 4n- 4= 122how do i solve for n? 10) -6x + 8y = 0-3x + 4y = 2Infinite solution or no solution Do you agree or disagree with the quote We close the divide because we know, to put our future first, we must first put our differences aside?Explain why you agree or disagree.How is this connected to good life? Which role does the first-person point of view play in this excerpt? It helps readers understand how amused Joe Barone feels when he helps the main character. It helps readers understand that the main character is beginning to feel accepted. It helps readers identify better with Joe Barone's opinion of the main character. It helps readers identify the events that occur during the story's climax and falling action. Midtown Antiques has found that sales have decreased 5% from last year. Sales this year are $108,665. To the nearest dollar, find the amount of last year's sales. a. $115,384 c. $114,374 b. $114,384 d. $114,284