Question: Exercise 1: Identify & Fix the Error Analyze the code to your left. It contains three errors. Identify this type of error and fix the

 Exercise 1: Identify \& Fix the Error Analyze the code to
your left. It contains three errors. Identify this type of error and
fix the code. When running correctly, once the user types in winter,
the program should print: Based on the season you entered, you should

Exercise 1: Identify \& Fix the Error Analyze the code to your left. It contains three errors. Identify this type of error and fix the code. When running correctly, once the user types in winter, the program should print: Based on the season you entered, you should wear a Heavy Coat To test your code before grading. click on the Try It button. To run your code line by line, click on the Code Visualizer. What type if error is this? In the space provided enter syntax, run-time or logic. What type if error is this? In the space provided enter syntax, run-time or logic. When you have fixed the code click on the Check It! button. Codio will run your program twice. The first test will use winter as the season. The second test will use another type of input. Check 1 failed output: File "content/error1.py", line 18 Enter the season: Syntaxerror: invalid syntax Expected: Enter the season: Based on the season you entered, you should wear a Heavy coat Feedback: Make sure you have identified all of the errors. Check 2 failed output: File "content/error1.py", line 18 Enter the season: Syntaxerror: invalid syntax Expected: Enter the season: Based on the season you entered, you should wear a T-shirt Feedback: Make sure you have identified all of the errors

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!