| 1 | initial version |
The error is that D is a tuple, and not a group. Read the documentation of direct_product, by typing
sage: G.direct_product?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.