Ruby - String Operations
You have a list of names with inconsistent spacing and letter cases:
Which Ruby code correctly cleans this list by removing spaces and making all names lowercase?
names = [" Alice", "BOB ", " cHaRlie "]
Which Ruby code correctly cleans this list by removing spaces and making all names lowercase?
