Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions