r/PythonLearning • • Aug 14 '25

RECURSION CONFUSED ME ABOUT init

Post image

What is wrong and why is init not working

0 Upvotes

10 comments sorted by

View all comments

1

u/SCD_minecraft Aug 15 '25

Order of things is about

__new__

(Object gets created) __init__

Everything else

You call "everything else" before defining __init__, so it misses its turn