APlusGrades

Not Rated (0)

$15/per page/Negotiable

About APlusGrades

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

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing,Foreign Languages,Geography,Geology,Health & Medical,HR Management,Law,Management,Physics,Programming,Science,Statistics Hide all
Teaching Since: Jul 2017
Last Sign in: 364 Weeks Ago, 6 Days Ago
Questions Answered: 1850
Tutorials Posted: 1850

Education

  • Graduate in Biology and Nutrition, MBA Finance
    Florida State University
    Aug-2000 - Jul-2007

Experience

  • Ass. Relationship Manager
    Penn-Florida
    Mar-2009 - Feb-2016

Category > Computer Science Posted 18 Jul 2017 My Price 12.00

computer science

Below is the problem and output.  What I have thus far is below that.  Please take a look and let me know where I am going wrong on this homework assignment.  Thank you!

 

Three gymnasts, Amy, Beth and Connie, compete in a meet. Each gymnast receives two scores from the judges. 

(a) Ask the user to enter six scores: two scores for each gymnast. 

(b) List named scores. This is a list of lists. It has three elements. The first element is the list of Amy's scores. The second element is the list of Beth's score. The third element is the list of Connie's score.

(c) Display every score stored in the list scores in a separate line.

 

 The following is an example.

 

Enter first score of Amy: 14.7

Enter second score of Amy: 14.3

Enter first score of Beth: 13.6

Enter second score of Beth: 12.5

Enter first score of Connie: 12.9

Enter second score of Connie: 12.8

Scores of Amy:

14.7

14.3

Scores of Beth:

13.6

12.5

Scores of Connie:

12.9

12.8

 

What I have done thus far and my output:

amy1 = float(input('Enter first score of Amy: '))
amy2 = float(input('Enter second score of Amy: '))
allAmy = (amy1, amy2)

beth1 = float(input('Enter first score of Beth: '))
beth2 = float(input('Enter second score of Beth: '))
allBeth = (beth1, beth2)

connie1 = float(input('Enter first score of Connie: '))
connie2 = float(input('Enter second score of Connie: '))
allConnie = (connie1, connie2)

for scores in allAmy:
    print('Scores of Amy: ', allAmy)

for scores in allBeth:
    print('Scores of Beth: ', allBeth)

for scores in allConnie:
    print('Scores of Connie: ', allConnie)

Enter first score of Amy: 14.7

Enter second score of Amy: 14.3

Enter first score of Beth: 13.6

Enter second score of Beth: 12.5

Enter first score of Connie: 12.9

Enter second score of Connie: 12.8

Scores of Amy: (14.7, 14.3)

Scores of Amy: (14.7, 14.3)

Scores of Beth: (13.6, 12.5)

Scores of Beth: (13.6, 12.5)

Scores of Connie: (12.9, 12.8)

 

I am getting dups and it is not on separate lines as the output should be.

Answers

Not Rated (0)
Status NEW Posted 18 Jul 2017 03:07 PM My Price 12.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â-----------  -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I

Not Rated(0)