Nextlabs interview question

Replicate the C strcmp functionality in python?