Input Into Array Python Functions With Parameters