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

What is the correct fix?

print("total: " + count)
  1. Wrap count in str()
  2. Wrap count in int()
  3. Swap the two operands
  4. Use single quotes instead
Python will not concatenate str and int — convert, or use an f-string.
Play Problem Solving ▸