The goal was to draw a particular figure in less than 12 lines of
python.  My j solution:

NB. Use picture as monad with integral argument
picture =: {&'* '@:(i. (< |)"0/ i:)

Corresponding "phony j" implemented in python,
Post 4:
http://forums.devshed.com/python-programming-11/need-help-with-this-problem-python-3-2-1-1t-939983.html


Some of the lines are long for this email system.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to