Can A Function Be A Parameter Python