- Write a function
lines()
that accepts a string as parameter and returns the string after making all the characters in the sentence capitalized.
lines("Hello world")
- "HELLO WORLD"
lines("Practice makes perfect")
- "PRACTICE MAKES PERFECT"
- In case of input data being supplied to the question, it should be assumed to be a console input.