Answer :

Computer programming is essentially a set of instructions that make certain actions possible.

What is computer programming?

Professionals use computer programming to create computer code that specifies how a computer, application, or software program operates. Computer programming is essentially a set of instructions that make certain actions possible.

What are the two main types of computer programs?

Application software and system software are the two main subcategories of software. Applications are pieces of software that carry out tasks or address certain needs. The hardware of a computer is run by system software, which also acts as a platform for other software to run on.

The program is as follows:

def main():

# Declare variables

line = ''

total = 0.0

number = 0.0

# Open numbers.txt file for reading

infile = open('numbers.txt', 'r')

for line in infile:

number = float(line)

total += number

# Close file

infile.close()

# Display the total of the numbers in the file

print('Total: ', total)

# Call the main function.

main()

To learn more about computer programming refer to:

https://brainly.com/question/22654163

#SPJ4