You need to close the parenthesis

sage: t = (
....: 1,
....: 2)
sage: t
(1, 2)

Vincent

On 09/06/15 18:58, Craig E Larson wrote:
Sometimes I forget a parenthesis, etc, and I get a colon input prompt.
Double-enter won't escape the colon. Correcting the syntax also isn't
enough. Control-Z will exit Sage totally and I lose my data and history. Is
there another way to escape the colon besides Control-Z?

Here's an example.

sage: is_P_position(ChompBoard([3,3,3,1])
....:
....: is_P_position(ChompBoard([3,3,3,1]))
....:
....: is_P_position(ChompBoard([3,3,3,1]))
....:
....:
....:
....:
....:
....:
Forever....

Thanks.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to