Isn't that nice:

sage: Permutation("12")
ValueError                                Traceback (most recent call last)
...
ValueError: invalid literal for int() with base 10: ''

sage: Permutation("123")
[1, 2]

sage: Permutation("1234")
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23]

sage: Permutation("X14Y")
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to