Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the output is: Last night the Dodgers scored 2 The Yankees scored 3 The Cubs scored 4 The total number of runs scored was 9
the output is:
Last night the Dodgers scored
The Yankees scored
The Cubs scored
The total number of runs scored was
qxzqy
LAB ACTIVITY
: LAB: Fixing errors in Baseball
main.py
Load default template...
dodgersscore input
yankeesscore input
cubsscore input
printLast night the Dodgers scored", dodgersscore
print The Yankees scored",yankees score
printThe cubs scored", cubsscore
printThe total number of runs scored was", intdodgersscore intyankeesscore intcubsscore
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started