My code worked in 20 mins ago, after I rerun all code, the error showed, How did it happen?
Screen Link: https://app.dataquest.io/m/210/guided-project%3A-winning-jeopardy/6/low-value-vs-high-value-questions
My Code:
terms_used_list=list(terms_used)
import random
sample=random.sample(terms_used_list,10)
comparison_terms=sample
What I expected to happen:
10 elements show.
What actually happened:
ValueError: Sample larger than population