Base Python Functions With Parameters Javascript Interview