The important clue is, this is YOUR project. If we send you the code, then we should get credit for the work, not you.
Unless, perhaps you will be willing to ad a disclaimer to your project at the very beginning, in large scale type, that you did not do the work. Will you likely get a good grade then? Do you care? Probably not. Too bad. Start writing.