Question: Instructions: The following tasks require writing Python code. Read the statement of each task and write the code in the box provided to write the

Instructions:
The following tasks require writing Python code. Read the statement of each task and write the code in the box provided to write the Python code. You can use the green "Run" button above each code box to test your code. If your code generates a plot, then you can switch from CONSOLE to DESKTOP to see the results.
Important:
Do not forget to press the "Submit for Grading" button after you have completed writing your programing code which is necessary to save your work for grading. You can press the button as many times as you wish.
Data
Consider the following data, about the hotel rooms and complete the coding tasks which follow.
\table[[Country,\table[[Market],[Segment]],\table[[Meal],[Plan]],\table[[Lead],[Time]],\table[[Room],[Type]],\table[[Room],[Rate]]],[ITA,Direct,HB,243,D,195.33],[PRT,Direct,HB,179,D,107.42],[DNK,Online,BB,7,A,75],[SWE,Online,BB,13,D,75],[ESP,Offline,BB,14,A,98],[LUX,Online,BB,14,A,98],[ZAF,Offline,SC,5,A,107],[ESP,Online,HB,9,A,103],[SWE,Online,HB,85,D,82],[SWE,Online,BB,75,D,105.5],[DEU,Online,BB,23,D,123],[DEU,Online,BB,83,A,145],[POL,Direct,BB,68,D,97],[SWE,Offline,BB,18,D,45],[SWE,Online,BB,37,D,94.71],[SWE,Online,BB,68,D,97],[JPN,Direct,BB,37,D,97.5],[DEU,Direct,BB,12,D,88.2],[PRT,Online,SC,55,A,30],[USA,Direct,BB,48,D,153]]
LAB
ACTIVITY
3.10.1: Plot-1
17
1.7
03
Instructions: The following tasks require writing

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 Programming Questions!