Hi. I was wondering if theres a way to take a specific item from a list to another list.
Here's what I thought would work...:
def __init__(self, indata): self.data = indata self.total = len(self.data) def getTtestFactorA(self, factorA): ListFactorA =  for factorA in self.data: ListFactorA.append() return ListFactorA def getTtestFactorB(self, factorB): ListFactorB =  for factorB in self.data: ListFactorB.append() return ListFactorB
The variables factorA and factorB are given by the user in another class.
So if the user chose factorA as 6, python would add the 6th element in the list self.data to ListFactorA.
Thanks in advance.