How To Implement A Function In Python