Closed arunchandy closed 6 years ago
You have to hit enter first after you type the function. Then you type result = f(2). Or don't use the shell and save the program in IDLE.
Thanks....but its still not working on shell. I saved in IDLE, that's the only way its running.
After naming and defining function, python is not taking result line. The error is attached. Lines look like this