$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · medium · #105

What is printed?

print(max('apple', 'banana'))
  1. banana
  2. apple
  3. 6
  4. banana apple
Two strings compare lexicographically, and 'b' beats 'a'.
Play Problem Solving ▸