Fill: String Uppercase
Fill in the Blank Beginner
Question
Fill in the blank to convert the string to uppercase.
Code
s = "hello"
result = s.___()
Hint
The method name is the word for 'make upper case'.
Explanation
upper() returns a copy of the string with all characters converted to uppercase. 'hello'.upper() = 'HELLO'.
Related Resources
Related Lessons
- Strings
String methods.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.