0

so I am new to python and I am trying to generate a 100 numbers from 0 to 10 and find out how many times a three appears. I'm not sure exactly how to get it to work. I basically just want to be able to count how many times a 3

```
import random
count = 0
for x in range (100)
i = random.randint(1,10)
print random.randint(1,10)
if i == 3:
count = count + 1
print count
```

i am hoping count represents the number of time 3 appears. Im guesing one of the problems is setting i = random. thanks for any input