79636906

Date: 2025-05-24 15:22:57
Score: 1.5
Natty:
Report link

I found the answer. It was in the call for lambda function. It should be:

for word in words:
    button = ft.Button(text=word)
    button.on_click = lambda e, btn=button: click(e, btn)
    buttons. Append(button)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pekka Henttonen