mode value python - Search