As requested by WS, I'm posting these directly to the list. -r
http://sagemath.org/doc/html/tut/node9.html SAGE uses = for assignment and ==,<=,>=,<,> for comparison: --- SAGE uses = for assignment. It uses ==, <=, >=, <, and > for comparison: ... after the list of variables names. variable You can specify multiple inputs, and optional defaults for the inputs. --- You can specify multiple inputs, each of which may have a default value. In Python blocks of code are ... Python, ... because the return statement is not ... <tt>return</tt> If you fix the indentation, then the function works: --- If you fix the indentation, the function works: ... on one line separate by semicolons: line, separated ... multiple lines, use backslash: a terminating In SAGE you count ... SAGE, ... is like (for(i=1;i<6;i+=2). for(i=1;i<6;i+=2). ... is to use string formating. formatting. Below we create three columns ... Below, ... except it can be ... that ... is a powerful techniques that can ... technique Below we define a class ... Below, ... when it is created, and the ... --- ... when it is created; the ... ... of numbers use the list function: numbers, ... is considered in ... to be ... the following doesn't, since ... --- ... the following doesn't work, since ... ... on the mailing for further details. list -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume [EMAIL PROTECTED] http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---