Nextlabs Interview Question

Replicate the C strcmp functionality in python?