Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 4 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 28 Aug 2017 My Price 14.00

list of scores

~~~MUST BE IN PYTHON!! NOT JAVA~~~

 

If all answered, points will be TRIPLED! No lie!!

 

10.1 (Assign grades) Write a program that reads a list of scores and then assigns grades based on the following scheme:
The grade is A if score is best Ac€?o 10.
The grade is B if score is best Ac€?o 20.
The grade is C if score is best Ac€?o 30.
The grade is D if score is best Ac€?o 40.
The grade is F otherwise.

 

10.13 (Eliminate duplicates) Write a function that returns a new list by eliminating the duplicate values in the list. Use the following function header:
def eliminateDuplicates(lst):
Write a test program that reads in a list of integers, invokes the function, and displays the result.

 

10.31 (Occurrences of each digit in a string) Write a function that counts the occurrences of each digit in a string using the following header:
def count(s):
The function counts how many times a digit appears in the string. The return value is a list of ten elements, each of which holds the count for a digit. For example, after executing counts = count("12203AB3"), counts[0] is 1, counts[1] is 1, counts[2] is 2, and counts[3] is 2. Write a test program that prompts the user to enter a string and displays the number of occurrences of each digit in the string.

 

11.1 (Sum elements column by column) Write a function that returns the sum of all the elements in a specified column in a matrix using the following header:
def sumColumn(m, columnIndex):
Write a test program that reads a matrix and displays the sum of each column.

 

 

 

 

 

OUTPUT:

>>> Enter scores separated by spaces from one line: 40 55 70 58 65 72 Student 0 score is 40 and grade is D Student 1 score is 55 and grade is B Student 2 score is 70 and grade is A Student 3 score is 58 and grade is B Student 4 score is 65 and grade is A Student 5 score is 72 and grade is A >>> ================================ RESTART ================================ >>> Enter numbers: 1 2 3 2 1 6 3 4 5 2 The distinct numbers are: [1, 2, 3, 6, 4, 5] >>> ================================ RESTART ================================ >>> Enter a string: 232534312989 1 occurs 1 time 2 occurs 3 times 3 occurs 3 times 4 occurs 1 time 5 occurs 1 time 8 occurs 1 time 9 occurs 2 times >>> ================================ RESTART ================================ >>> Enter a 3-by-4 matrix row 0: 1.5 2 3 4 Enter a 3-by-4 matrix row 1: 5.5 6 7 8 Enter a 3-by-4 matrix row 2: 9.5 1 3 1 Sum of the elements at column 0 is 16.5 Sum of the elements at column 1 is 9 Sum of the elements at column 2 is 13 Sum of the elements at column 3 is 13 >>>

Answers

(5)
Status NEW Posted 28 Aug 2017 11:08 AM My Price 14.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)