On Thursday, December 29, 2016 at 11:18:53 AM UTC, jianrong wrote: > > Dear all, > > I am trying to do some computations about Weyl groups in Sage cloud (Sage > online). > > How to use sage combinat in Sagecloud? > > W = WeylGroup(["A", 5], prefix = "s") > l=list(W); l.sort(); l; > > > When I try to compute length(l[2]), there is an error which says that > length is not defined. I use Sage cloud because my laptop is Windows > system. So I didn't install Sage on my laptop. >
the Python function for the length of a list is len(), not length() > > Thank you very much. > > Best regards, > Jianrong. > -- 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 https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
