I want in, doggone it

Oct 11, 2010 11:18

It's funny. When I started out with Python, I'd really only programmed in TI-83, C, and Mathematica. And Maple, a bit. And HTML, although I don't think of that as a "programming" language. (I guess it is, it just produces static results ( Read more... )

computers

Leave a comment

Comments 1

Loop in Mathematica anonymous October 12 2010, 07:22:19 UTC
In Mathematica, a loop needn't be as long as your example, nor even as long as your Python example. More common iteration constructs would be

f /@ list
Map[f, list] (equivalent)
Do[stuff, {I, list}]

Reply


Leave a comment

Up