79598971

Date: 2025-04-29 18:24:20
Score: 1
Natty:
Report link

The problem in your code is that you're not returning the result from your function. In Python, a function that doesn't explicitly return a value will return None by default.

def add_numbers(a, b):
    result = a + b
    return result  # Add this

print(add_numbers(3, 5))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abdellah Abnoune