Result Function In Python With Parameters