Python Project Structure Using Function In Python Def