Too easy!  I'll start to make them harder as I learn... LOL

On May 10, 1:53 pm, Volker Braun <vbraun.n...@gmail.com> wrote:
> Python uses indentation for blocks:
>
> sage: x,y = var('x, y');
> sage: A = x+y == 3;
> sage: if A.substitute(x=1,y=2):
> ....:     print "Yes"
> ....: else:
> ....:     print "No"
> ....:    
> Yes

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to