Question: I need to write a python 3.xx code to place the correct coloring the POI cell. This will require a conditional statement like if. Please

I need to write a python 3.xx code to place the correct coloring the POI cell. This will require a conditional statement like if. Please insert comments in the script(code). thanks

If type =Residential

then POI = Blue

elif type = Occupational

then POI = Blue

elif type = Entertainment

then POI = green

elif type =Commercial

then POI = red

example what we are trying to accomplish

POI (color)

type

color blue

Residential

color blue

Occupational

Entertainment

Commercial

Entertainment

Entertainment

Residential

Occupational

Entertainment

Commercial

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!