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
mrs_skeptik [129]
3 years ago
11

Write code using the range function to add up the series 99, 98, 97,...

Computers and Technology
1 answer:
azamat3 years ago
8 0

Answer:

This program is written in python;

Comments are used for explanatory purpose;

Take note of indentations (See picure attachment)

Program starts here

#Initialize Sum to 0

sum = 0

#Iterate from 99 to 1 using range function

#The iterating variable i starts from 99 and ends at 1 with a difference of -1

for i in range(99, 1, -1):

sum+=i

#Display Result

print("Expected Output: ",sum)

#End of Program

You might be interested in
you just bought a new hard drive for your computer to be used as a secondary hard drive to store all your files after installing
almond37 [142]
The harddrive needs to be partitioned, much like partitioning a room, this is were you allocate space to be used, and used by who. Secondly, a file system needs to installed, to do this you "format" the drive with one of the available File systems that windows can read. Typically on windows this is NTFS or fat32 for older system or devices such as USB sticks.  
6 0
4 years ago
Spam and i report
defon

Answer:

option d is the correct answer

8 0
3 years ago
Read 2 more answers
The two roots of a quadratic equation ax^2 + bx + c = 0 can be obtained using the following formula:
Feliz [49]

Answer: ion k

Explanation:

4 0
3 years ago
Summarize how the components of health are related to wellness ​
Valentin [98]
Physical wellness indicates a high level of endurance, flexibility and strength... Mental and emotional wellness focuses on an acceptance and agreement with ones emotions and feelings.
9 0
4 years ago
Match the actions of individuals with the code of conduct they are adhering to. Sofia is an HR Manager who keeps all employee re
aksik [14]

All the code of conducts is good and it is expected from each and every employee of the organization. Employee details needs to be kept confidential and Sofia, the HR manager is adhering to it. Employee’s productivity increases if unnecessary use of mobile phone stops.

It is always recommended to use free items than the copyrighted items. It’s a good ethical practice. Becky is also right, because he considers work as work and does not get deviated with dinner invites and gifts.

5 0
3 years ago
Read 2 more answers
Other questions:
  • Write a loop that sets newScores to oldScores shifted once left, with element 0 copied to the end. Ex: If oldScores = {10, 20, 3
    15·1 answer
  • How do all apple phones work?
    7·1 answer
  • python (Financial application: compute the future investment value) Write a function that computes a future investment value at
    5·1 answer
  • If you turn off system protection on a disk, windows ____ the restore points that are on your computer.
    13·1 answer
  • Changes in computer technology have an effect on _____. computer scientists only people who work with computers only everybody p
    12·2 answers
  • HELP I WILL MARK BRAINLIEST!!! I NEED ASAP!!!
    5·1 answer
  • Draw directed graphs representing relations of the following types.
    6·1 answer
  • Create two functions to calculate the area and circumference of the circle using pointer.
    12·1 answer
  • Logan has developed an excellent presentation with interesting content. He received great feedback on the evaluation
    10·1 answer
  • Modern Computers compared to earlier computers are
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!