def sanitize_mobile_number(number):
    """Add country code and strip leading zeroes from the phone number."""
    if str(number).startswith("0"):
        return "+254" + str(number).lstrip("0")
    elif str(number).startswith("254"):
        return "+254" + str(number).lstrip("254")
    else:
        return number