Variables in a loop, Newby question
vanommen.robert at gmail.com
vanommen.robert at gmail.com
Tue Dec 24 11:07:31 EST 2013
Hello, for the first time I'm trying te create a little Python program. (on a raspberri Pi)
I don't understand the handling of variables in a loop with Python.
Lets say i want something like this.
x = 1
while x <> 10
var x = x
x = x + 1
The results must be:
var1 = 1
var2 = 2
enz. until var9 = 9
How do i program this in python?
More information about the Python-list
mailing list