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
Get step-by-step solutions from verified subject matter experts
