<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def randomprune(self,n):
 """prune down to n items at random, disregarding their score"""

        self.data = random.sample(self.data, n)