Question: Is this correct? please fix the code for me to have the same output like the image under. File Edit Format Run Options Window Help

Is this correct? please fix the code for me to have the same output like the image under.

Is this correct? please fix the code for me to have the

same output like the image under. File Edit Format Run Options Window

File Edit Format Run Options Window Help print("CMSY 156 Soccer Stats Program Calculator") total games = int (input("Enter games played:10")) total shots = int (input("Enter shots taken:14")) total_goals = int(input("Enter goals scored:4")) average_goals_per_game = total_goals / total_games average_shots_per_game = total_shots / total_games average_shots_per_goal = total_shots / total_goals print("Average Goals per Game:", average_goals_per_game) print("Average Shots per Game:", average_shots_per_game) print("Average Shots per Goal:", average_shots_per_goal) print("Thank you for using the program. Goodbye!") CMSY 156 Soccer Calculator Enter games: 10 Enter shots: 14 Enter goals: 4 The goals per game is 0.40 The shots per game is 1.40 The shots per goal is 3.50 Thank you for using the program

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!