On Mar 15, 2:15 pm, yqyq22 yqy...@hotmail.com wrote:
On Mar 15, 11:02 am, Laurent Claessens moky.m...@gmail.com wrote:
Le 15/03/2011 09:10, yqyq22 a crit :
Hi all,
I would like to put an alphanumeric string like this one
EE472A86441AF2E629DE360 in a list, then iterate inside the
string = EE472B
t = []
for x in string[:]:
print t.append(A) #i don't want to append A, the final
result is EAEA4A7A2ABA
As it, it prints None 6 times. Then t is ['A','A','A','A','A']
What you have to do is to read about basic python. Search for python
tutorial on the net.
Then
string = EE472B
t = []
for x in string[:]:
print t.append(A) #i don't want to append A, the final
result is EAEA4A7A2ABA
As it, it prints None 6 times. Then t is ['A','A','A','A','A']
What you have to do is to read about basic python. Search for python
tutorial on the net.
Then
Il 15/03/2011 09:10, yqyq22 ha scritto:
I would like to put an alphanumeric string like this one
EE472A86441AF2E629DE360 in a list, then iterate inside the entire
string lenght and change each digit with a random digit.
Do u have some suggestion? thanks a lot
hi
I'm not an experienced python
Hi all,
I would like to put an alphanumeric string like this one
EE472A86441AF2E629DE360 in a list, then iterate inside the entire
string lenght and change each digit with a random digit.
Do u have some suggestion? thanks a lot
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Mar 15, 2011 at 1:10 AM, yqyq22 yqy...@hotmail.com wrote:
Hi all,
I would like to put an alphanumeric string like this one
EE472A86441AF2E629DE360 in a list, then iterate inside the entire
string lenght and change each digit with a random digit.
Do u have some suggestion? thanks a lot
On Mar 15, 9:20 am, Chris Rebert c...@rebertia.com wrote:
On Tue, Mar 15, 2011 at 1:10 AM, yqyq22 yqy...@hotmail.com wrote:
Hi all,
I would like to put an alphanumeric string like this one
EE472A86441AF2E629DE360 in a list, then iterate inside the entire
string lenght and change each
yqyq22 wrote:
I would like to put an alphanumeric string like this one
EE472A86441AF2E629DE360 in a list, then iterate inside the entire
string lenght and change each digit with a random digit.
What does change each digit with a random digit? Do you want to swap two
random elements of the
yqyq22 yqy...@hotmail.com writes:
On Mar 15, 9:20 am, Chris Rebert c...@rebertia.com wrote:
Can you show us your attempt?
Hi, to be honest i'm a newbye so i don't know where to start
Work through the entire Python tutorial, in sequence
URL:http://docs.python.org/tutorial/. Not merely read:
Le 15/03/2011 09:10, yqyq22 a écrit :
Hi all,
I would like to put an alphanumeric string like this one
EE472A86441AF2E629DE360 in a list, then iterate inside the entire
string lenght and change each digit with a random digit.
Do u have some suggestion? thanks a lot
This can be a way to begin :
yqyq22 wrote:
Hi, to be honest i'm a newbye so i don't know where to start, i began
in this way but i don't know how to proceeed.
list = (EE472A86441AF2E629DE360)
list is a builtin type, so you shouldn't use it as name for other things.
The thing on the right-hand side of the assignment is
On Mar 15, 11:02 am, Laurent Claessens moky.m...@gmail.com wrote:
Le 15/03/2011 09:10, yqyq22 a crit :
Hi all,
I would like to put an alphanumeric string like this one
EE472A86441AF2E629DE360 in a list, then iterate inside the entire
string lenght and change each digit with a random
12 matches
Mail list logo