Exercise: Uppercase the String
Write the code to solve the problem.
Question
Write code below to convert all the letters in the string variable province to uppercase letters.
Here is a sample input and the expected output:
Input: QuebecOutput: QUEBEC
Expected outcome
If you’re unsure how to do this, click the “Show Hint” button.
Show Hint
Explanation
Exercise: Uppercase the String
Write the code to solve the problem.
Question
Write code below to convert all the letters in the string variable province to uppercase letters.
Here is a sample input and the expected output:
Input: QuebecOutput: QUEBEC
Expected outcome
If you’re unsure how to do this, click the “Show Hint” button.
Show Hint
Explanation