79492438

Date: 2025-03-07 13:23:15
Score: 1.5
Natty:
Report link

All easy:

def callback_code(task):
    ctx = task.get_context()
    code = ctx.get(msg_code)
    print(f'Code: {code}')

We can get context straight from Task object!

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: IzaeDA