Coding Assignment1.docx

# Coding Assignment1.docx - Coding Assignment Below is the...

• No School
• AA 1
• 1

This preview shows page 1 out of 1 page.

Coding Assignment Below is the code and in # red text are the comments: a = [2, 4, 3, 10, 33]  #python list Total = sum(a)  #standard function of sum total Count = len(a)  #standard function of count Average = Total/Count  #standard function of average by dividing the total and count Avg20 = (Average * 0.20)/100   #the average multiply by 0.20 divided by 100 print("Average of given list : ",round(Average,2))  #print the average of the given list and round the  average and limit the decimal places to 2 print("Array Numbers that are higher than Average by 20% are : ")
• Fall '19
• NoProfessor
• #, #print, #if, #the, #Prints

{[ snackBarMessage ]}

###### "Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern