Inactive Tutor answered 06/29/14
Tutor
New to Wyzant
Hi,
It would seem that a fundamental understanding of Python functions may be of benefit. Please see, for example
https://docs.python.org/release/1.5.1p1/tut/functions.html
http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/functions.html
http://www.tutorialspoint.com/python/python_functions.htm
As for "short accurate" code, I believe you will be able to do that once you check the references.
Good luck.