$ ./guess_the_languageProblem Solving — fix the bug
Problem Solving — fix the bug · easy · #12

What is the correct fix?

fruits = ["apple", "pear"]
print(len(fruits)
  1. Use fruits.length
  2. Remove print
  3. Add a comma after pear
  4. Add a closing )
The print call is missing its closing parenthesis.
Play Problem Solving ▸