Question: Can you answers this for me, by modifying this program please Modify that student's program by adding another modification to each element of the array.

Can you answers this for me, by modifying this program please ModifyCan you answers this for me, by modifying this program please

Modify that student's program by adding another modification to each element of the array. Display the modified array. Document the code of your change (what and who). Post your modified code as text as an attachment (.txt or .py file) and post a screenshot of executing your program on at least one test case.

# Calculating total temperature while True: userInput = input("Please enter the temperature of the day (or 'done' if done): ") if userInput == 'done': break totalTemp += int(userInput) numDays += 1

# Calculating average temperature averageTemp = totalTemp / numDays

# Displaying average temperature print("The average temperature is " + str(averageTemp))

main()

Week7_Discussion_6381_20230228.py - C:\Users\ANZAN MICHAEL ROMEO\Do

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!