Given a string worm create a function that takes the length of the worm and converts it into millimeters. Each - represents one centimeter.
worm_length("----------") ➞ "100 mm."
worm_length("") ➞ "invalid"
worm_length("---_-___---_") ➞ "invalid"- Return
"invalid"if an empty string is given or if the string has characters other than-.