IsoSaysHi
19.02.2021 •
Computers and Technology
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)).
Solved
Show answers
More tips
- S Society and Politics Will Japan become Russia s Military Enemy?...
- P Philosophy Is Everything We Strive for Eventually Achieved and Destroyed?...
- S Society and Politics Understanding Politics and Its Role in the Development of Civilization...
- P Philosophy Why Did God Create Man and Place Him in Obscurity?...
- S Society and Politics Skoptsy: Who They Are and How They Perform Castration?...
- O Other Childhood Fears: What Many of Us Experienced...
- P Philosophy What is Something for you?...
- H Health and Medicine Why Do Humans Have One Heart?...
- P Philosophy Unbelievable stories of encounters with otherworldly forces...
- O Other How to Accidentally Get a Rare Coin with Your Change and How to Know Its Value?...
Answers on questions: Computers and Technology
- M Mathematics Brainlest and points !!...
- H History What injustice was MLK fighting in Birmingham?...
- M Mathematics Sarah’s group collected books. The ratio of novels and shorts stories is 8:6. She read 54 short stories. How many novels did she read? How many books did she read...
- B Biology Peptidyl transferase is an enzyme that functions to enable the creation of a polypeptide chain during the process of translation. How does peptidyl transferase perform...
- E English This is humanities can you hlp just give me...
- P Physics An Amtrak going 250m/s comes to a stop in 12s. What is the acceleration?...
- H History What was one way that Americans showed that their ideas about freedom were changing after the Revolution?...
- P Physics What is the measure of the average kinetic energy of the particles in a material known as? A. heat transfer B. radiation C. temperature D. thermal expansion...
- S Social Studies How many states make up the West? a. 9 b. 15 c. 11 d. 13...
- B Biology Need help plzz asap... will give brainliest if you get it right......
Ответ:
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)
Ответ:
NIce
Explanation: