<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resample(self,N):
 """Returns a bootstrap resampling of provided samples. Parameters N : int Number of samples. """

        inds = rand.randint(len(self.samples),size=N)
        return self.samples[inds]