Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribedCan 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

=+ Who will lead the negotiations?

Answered: 1 week ago

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago