Answered step by step
Verified Expert Solution
Link Copied!

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 2
The Yankees scored 3
The Cubs scored 4
The total number of runs scored was 9
5410063976478 qx3zqy7
LAB ACTIVITY
18.3.1: LAB: Fixing errors in Baseball
610
main.py
Load default template...
dodgers_score = input ()
yankees_score = input ()
cubs_score = input ()
print("Last night the Dodgers scored", dodgers_score)
print ("The Yankees scored",yankees score)
print("The cubs scored", cubs_score)
print("The total number of runs scored was", int(dodgers_score)+ int(yankees_score)+ int(cubs_score))
image text in transcribed

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

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions

Question

how are the electrical votes assigned by most states

Answered: 1 week ago

Question

Describe three other types of visual aids.

Answered: 1 week ago