Quote:We have not tried anything so far
As programmer, your job is to sort out the requirement to deduce logical organization.
The second step is to take a sheet of paper and a pencil and try to solve the problem, and refine your procedure until it work.
The procedure is your algorithm, then you have to translate to code.
The algorithm don't comes by magic, it is a trial and error search, that is how you learn.
Quote:i am in need for the code right now.
For this kind of help, you should think about hiring a professional programmer as this is a job that you don't tell.
Note that just giving you the code is basically defeating the purpose of homework.
Quote:Build a Python program to simulate a liquid flow through a modeled material which is a square matrix
The rules in requirement are anything but liquid behavior. This liquid don't act as a liquid.