`>>> class x:`

`… y = 0`

`…`

`>>> for x.y in range(5):`

`… print x.y,`

`…`

`0 1 2 3 4`

`>>>`

`>>> x = [None]`

`>>> for x[0] in range(5):`

`… print x,`

`…`

`[0] [1] [2] [3] [4]`

`>>>`

`>>> class x:`

`… y = 0`

`…`

`>>> for x.y in range(5):`

`… print x.y,`

`…`

`0 1 2 3 4`

`>>>`

`>>> x = [None]`

`>>> for x[0] in range(5):`

`… print x,`

`…`

`[0] [1] [2] [3] [4]`

`>>>`