$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #36

Fill the string method that returns an uppercase copy.

s = "hello"
print(s.____())  # HELLO

Answer: upper (also accepted: upper)

str.upper() returns an uppercased copy of the string.
Play Problem Solving ▸