Question: I'm curious what `x` means when you look at this:

```
import random

for x in range(10):
    print random.randint(1,101)

```

Answer: 
`x` itself has no special meaning, it simply (as a part of the `for` loop) provides a way to repeat

```
print random.randint(1,101)

```

10 times, regardless of the variable name (i.e., `x` could be, say, `n`).

In each iteration the value of `x` keeps increasing, but we don't use it. On the other hand, e.g.,

```
for x in range(3):
    print(x)

```

would give

```
0
1
2

```
X is a variable name, so could be any name allowed by python for variable names. As a variable , it’s value will be different every time the loop circle ends, in this particular loop range(10) the value of x will start in 0 and next 1 , and next 2, until reach value of 10

so If you want to print a random int:

```
for x in range(10):
    print(random.randint(x))

```

also, if it is python3.X, `print(x)` not `print x`, second is python2.X