I can't call my def root (a, b, c) in my mac!
I tried to run the file without the anaconda environment but gave the same error. If I write a simple code like print("oooo") the file runs but I can't call my function in my terminal and I don't know why.
python filename.pypython executes everything in the file and then exits, it doesn't put you into a Python REPL.