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
Drupady [299]
3 years ago
9

Write a program that will add up the series of numbers: 99,98, 97...3.2.1. The program should print the running total as well as

the total at the end.
The program should use one for loop, the range() function and one print() command.
Sample Run
99
197
294
390
-
4940
4944
4947
4949
4950
Computers and Technology
1 answer:
Gekata [30.6K]3 years ago
7 0

Answer:

result = 0

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

   result += i

   print(result)

Explanation:

You might be interested in
What is the maximum number of charters of symbols that can be represented by UNicode?
Sati [7]

Answer: 16 bit

Explanation:

4 0
4 years ago
What’s bigger 4,000,000 KB or 2.8 GB
Zanzabum

Answer:2.8 GB is bigeer

8 0
3 years ago
Read 2 more answers
Main function of Ubuntu
Lynna [10]

Answer:

Ubuntu includes thousands of pieces of software, starting with the Linux kernel version 5.4 and GNOME 3.28, and covering every standard desktop application from word processing and spreadsheet applications to internet access applications, web server software, email software, programming languages and tools

Explanation:

5 0
3 years ago
Read 2 more answers
Write a method named addCommas that accepts a string representing a number and returns a new string with a comma at every third
pentagon [3]

Answer:

Locale unaware

'{:,}'.format(value) # For Python ≥2.7

f'{value:,}' # For Python ≥3.6

Locale aware

import locale

locale.setlocale(locale.LC_ALL, '') # Use '' for auto, or force e.g. to 'en_US.UTF-8'

'{:n}'.format(value) # For Python ≥2.7

f'{value:n}' # For Python ≥3.6

6 0
3 years ago
If you want to use your computer for recording your band, you would benefit most from a(n)
notka56 [123]
A. MIDI interface.
RAID is a set of strategies for using more than one drive in a system.
3 0
3 years ago
Read 2 more answers
Other questions:
  • How many results are shown by default when using a Top or Rare Command?
    13·1 answer
  • What is a collection of data that is stored in a computer system
    7·2 answers
  • A very simple device that connects network components and sends packets of data to all other connected devices is called a _____
    5·1 answer
  • Write a method called evenBeforeOdd that accepts an array of integers and rearranges its elements so that all even values appear
    15·1 answer
  • Create a SavingsAccount class. Use a static data member annualInterestRate to store the annual interest rate for each of the sav
    10·1 answer
  • How many keys are on a microsoft windows standard keyboard
    7·2 answers
  • WILL GIVE BRAINLIEST!!!!
    14·2 answers
  • What is the difference between a computer’s RAM and its hard disk?
    13·2 answers
  • MOA115 Medical Records and Insurance
    6·1 answer
  • Pls anyone answer this Resource sharing is the need of network because?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!