First time here? Check out the FAQ!
answered 12 years ago
I'm not sure why this doesn't work, but you can force the multiplication to take place in the larger group G by replacing h with G(h), like this:
G
h
G(h)
sage: [(G(h)*g) for h in H for g in G]