I’m getting wrong results for the Sample function as given below what could be the cause?
Sampling:
list of sampled indices:
[11, 23, 16, 15, 1, 23, 23, 13, 17, 17, 0]
list of sampled characters:
[‘k’, ‘w’, ‘p’, ‘o’, ‘a’, ‘w’, ‘w’, ‘m’, ‘q’, ‘q’, ‘\n’]