2) In football, a touchdown counts as 6 points, an extra point after a touchdown counts as 1 point, a safety is 2 points, and a field goal is 3 points. Find the total score (ts) for one team, if the...


Python code required


2) In football, a touchdown counts as 6 points, an extra point after a<br>touchdown counts as 1 point, a safety is 2 points, and a field goal is 3<br>points. Find the total score (ts) for one team, if the numbers of<br>touchdowns (td), safeties (s), extra points (ep), and field goals (f) are<br>entered in as INPUT. Prompts and output are shown at the bottom. The<br>output should be right justified.<br>

Extracted text: 2) In football, a touchdown counts as 6 points, an extra point after a touchdown counts as 1 point, a safety is 2 points, and a field goal is 3 points. Find the total score (ts) for one team, if the numbers of touchdowns (td), safeties (s), extra points (ep), and field goals (f) are entered in as INPUT. Prompts and output are shown at the bottom. The output should be right justified.
Number of touchdowns: 4<br>Number of safeties: 2<br>Number of extra points: 3<br>Number of fieldgoals: 1<br>Touchdowns<br>Safeties Extra Points Field Goals Total Score<br>2<br>3<br>1<br>34<br>

Extracted text: Number of touchdowns: 4 Number of safeties: 2 Number of extra points: 3 Number of fieldgoals: 1 Touchdowns Safeties Extra Points Field Goals Total Score 2 3 1 34

Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here