0
/ 50
Write a method called listUpper()
that takes in a list of strings, and returns a list of the same length containing the same strings but...
Write a method called listUpper()
that takes in a list of strings, and returns a list of the same length containing the same strings but in all uppercase form. You can either modify the provided list or create a new one.
Examples:
listUpper(list("a", "an", "being")) -> list("A", "AN", "BEING")
listUpper(list("every", "gator", "eats")) -> list("EVERY", "GATOR", "EATS")
listUpper(list()) -> list()
Your feedback will appear here when you check your answer.