Define-Macro for Def Staetement

USING SCHEME Implement def, which simulates a python def statement, allowing you to write code like (def f(x y) (+ x y)).

(define-macro (def func bindings body)

Previously, my code is:

(define-macro (def func bindings body) `(begin (define-macro ,(cons 'x bindings) ,body) x))

However, the test case

(def f(x y) (+ x y))

expected f, while my code above got (lambda (x y) (+ x y))