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
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\DoStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started