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

Which fix removes the bug?

name = 'Ada'
print('Hello, {name}')
  1. Use double quotes instead
  2. Escape the braces as {{}}
  3. Call str(name) before it
  4. Prefix the string: f'...'
Without the f prefix the braces are printed literally instead of being interpolated.
Play Problem Solving ▸