Re: Beginner Question - Very Easy I'm Sure...

2005-03-25 Thread Todd_Calhoun
Thanks for the tip. I knew it was something easy like that. "Brian van den Broek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Todd_Calhoun said unto the world upon 2005-03-24 16:13: >> I'm trying to generate a random number, and then concetate it to a word >> to create a pass

Re: Beginner Question - Very Easy I'm Sure...

2005-03-24 Thread Brian van den Broek
Todd_Calhoun said unto the world upon 2005-03-24 16:13: I'm trying to generate a random number, and then concetate it to a word to create a password. I get the number and assign it to a variable: + word = "dog" import random rannum = random.randrange(100,999) str(rannu

Re: Beginner Question - Very Easy I'm Sure...

2005-03-24 Thread Jaime Wyant
str() returns a string, it doesn't change rannum which is still a number... try -> rannum = str(rannum) jw On Thu, 24 Mar 2005 13:13:25 -0800, Todd_Calhoun <[EMAIL PROTECTED]> wrote: > I'm trying to generate a random number, and then concetate it to a word to > create a password. > > I get the

Beginner Question - Very Easy I'm Sure...

2005-03-24 Thread Todd_Calhoun
I'm trying to generate a random number, and then concetate it to a word to create a password. I get the number and assign it to a variable: + word = "dog" import random rannum = random.randrange(100,999) str(rannum) word + rannum + But