Question: 1 : Compare output Compare output 2 Input 3 6 Your Output Expected output starts with Enter the score for the Dodgers: Enter the score

1: Compare output
Compare output
2
Input
3
6
Your Output
Expected output starts with
Enter the score for the Dodgers:
Enter the score for the Dodgers:enter dodgers_score:
The Yankees scored
The Cubs scored
The total number of runs scored was 11
(2)
3
03
Output is nearly correct, but whitespace differs. See highlights above. Special character legend
2: Compare output ???
33
Compare output
5
Input
1
3
main.py
main.py
1 print('Enter the score for the Dodgers:', end='')
2 dodgers_score = int(input())
3 print('Enter the score for the Yankees:', end='')
4 yankees_score = int (input ())
5 print('Enter the score for the Cubs:', end='')
6 cubs_score input ()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!