$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #178

What is the output?

print(len('héllo'))
  1. 5
  2. 6
  3. 4
  4. Error
Python 3 strings count characters, not bytes, so the accented letter counts once.
Play Problem Solving ▸