Question: Write a function to compare two strings for equality. If they are equal, zero is returned, otherwise the difference in value between the first

Write a function to compare two strings for equality. If they are equal, zero is returned, otherwise the difference in value between the first two non-matching characters.
Step by Step Solution
There are 3 Steps involved in it
Heres a Python function to compare two strings for equality according to the specified criteria pyth... View full answer
Get step-by-step solutions from verified subject matter experts
