Jonathan needs a program that will input three numbers from the user and then save the maximum value in a file called quotes 'maximum.txt'.

Write a program that

takes these three values

and writes the maximum to the specified file

In your answer you can assume all number inputs are integers

Respuesta :

The program is an illustration of file manipulations.

What are file manipulations?

File manipulations are used to read, write and append to files

The main program

The program in Python, where comments are used to explain each line is as follows:

#This initializes a list

numList =[]

#The following iteration gets three inputs, and appends them to the list

for i in range(3):

   num = int(input())

   numList.append(num)

#This sorts the list

numList.sort()

#This opens the file

f = open("maximum.txt", "a")

#This writes to the file

f.write(str(numList[2]))

#This closes the file

f.close()

Read more about file manipulations at:

https://brainly.com/question/25324400