How could the following code be adapted for a baseball score keeping? 1 def scoreUpdate(value): 2 # update the score value with the points earned 3 return(value + 6) 4 def bonus(value): 5 return(value + 1) 6 score = 6 7 score = scoreUpdate(score) 8 print("after update " + str(score)) 9 score = bonus(score) 10 print("after bonus "+ str(score)) (1 point) Responses Change line 7 to call bonus instead. Change line 7 to call bonus instead. Change the 6 to a 1 in line 6. Change the 6 to a 1 in line 6. Replace 6 with 1 in line 3 and remove the bonus section. Replace 6 with 1 in line 3 and remove the bonus section. Replace the 1 with a 2 in line 5.

To adapt the code for baseball scorekeeping, you could make the following changes:

1. Change line 7 to call bonus instead of scoreUpdate:
Replace `score = scoreUpdate(score)` with `score = bonus(score)`

The updated code for baseball scorekeeping would look like this:

1 def scoreUpdate(value):
2 # update the score value with the points earned
3 return(value + 6)
4
5 def bonus(value):
6 return(value + 1)
7
8 score = 6
9 score = bonus(score)
10 print("after bonus "+ str(score))