← Back to the lesson: String Methods
Upper and Lower
The exercise
Given: text = "Hello World"
Print the text in all uppercase.
Then print the text in all lowercase.
Starter code
text = "Hello World"
# Print uppercase / Выведите в верхнем регистре
# Print lowercase / Выведите в нижнем регистре
Write the code in the browser and run it — no installation needed.