I need to generate a vector with 100 random number positions and see what the proportion of numbers 2 to every 10 vector positions, the first part I got, but the rest does not help?
import random as rd
v=[]
for i in range(0, 20):
w=rd.randint(0, 3)
v.append(w)