Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

python Student Portal PNC Btracks Soundcdoud Pinterest Question 13 . 15 pts Read

ID: 3745994 • Letter: P

Question

python

Student Portal PNC Btracks Soundcdoud Pinterest Question 13 . 15 pts Read the problem below. Open a Python compiler and create a program to solve this problem. When done attach your file to this question You have been asked by a friend of yours to write a program to help determine bowling averages. Each player bowls three games. Your program needs ask for the bowler's name and three scores The program then needs to determine the average. Finally the of the bowler and their average name The following rubric will be used to grade your program: 80 % of Competent total 60% of i total Exemplary Developing Created and declared enough variables Created input prompts with descriptive prompts. Missing one variable declaration Missing more than one variable declaration One minor error with the input statements or the prompts were not descriptive enough. A major error with an 3 Input statements 2.4 1.8 input statement or contained the necessary missing a conversion. version statements Correctly calculated the ajor error in the 5 bowling average using calculation of the variables average. Properly displays the Missing more than one 4 bowler's name and thein Missing an output ertaBasics.pptx

Explanation / Answer

name=str(input('enter name of the bowler ')) #taking bowler name from user
score1=int(input('enter first score ')) #taking score 1
score2=int(input('enter second score ')) #taking score 2
score3=int(input('enter third score ')) #taking score 3
avg=(score1+score2+score3)/3 #averaging the scores
print("Name of the bowler {} and average score is {}".format(name,avg)) #print the bowler name and score

input :
enter name of the bowlersatish
enter first score 20
enter second score 10
enter third score 5

output:
Name of the bowler satish and average score is 11.666666666666666