You need to have a k= parameter for the sample function:
number = random.sample(range(1,12,11),k=PUT k PARAMETER HERE)
I'm not entirely sure how you should proceed from there but this link may help:
https://www.w3schools.com/python/ref_random_sample.asp