recusrion python 33 programming homework help

i want a recursive function that takes in a grid (a 2d list) of  X’s and an f or two like for example:

X X X X X X X X X X X

Get Your Custom Essay Written From Scratch
We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.
Just from $13/Page
Place an Order

F X X X X X X X X X X

Get Assignment Writing Help

Our experts are ready to complete your assignment, course work. essay, test, dissertation, research paper, quiz

Get Started

X X X X X X X X X X X

X X H X X X X X X X X

X X X X X X X X X X X

X X X X X X X X X X X

X X X X X X X X X X X

X X X X X X X X X X X

X X X X X X X X X X X 

the H is stands for house. the recursive function should check the neighboring locations close around F (north, south, east, and west) and then the function should change the X’s that neighbor the F to F’s and change the old F to D like this:

  F  X  X  X  X  X  X  X  X  X  X

  D  F  X  X  X  X  X  X  X  X  X

  F  X  X  X  X  X  X  X  X  X  X

  X  X  H  X  X  X  X  X  X  X  X

  X  X  X  X  X  X  X  X  X  X  X

  X  X  X  X  X  X  X  X  X  X  X

  X  X  X  X  X  X  X  X  X  X  X

  X  X  X  X  X  X  X  X  X  X  X

  X  X  X  X  X  X  X  X  X  X  X

F’s can only move one space at  a time and i should be able to control howmany times it runs but that doesnt nessarly need to be in the function itself

use example file as guide

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Order Over WhatsApp Place an Order Online

"Do you have an upcoming essay or assignment due?


Get any topic done in as little as 6 hours

If yes Order Similar Paper

All of our assignments are originally produced, unique, and free of plagiarism.

Stuck with a Question?

Get it solved from our top experts within 8 hrs!

Ask Your Question Now!

"Are you looking for a similar assignment? if yes, we are ready to help"

Order New Solution

You will get 100% plagiarism free and professional written paper.