Re: [Tutor] raw_input into range() function

2007-04-18 Thread Ben Sherman
On 4/18/07, Guba <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to do the exercises in Michael Dawson's "Absolute Beginner" > book. In chapter four ("for Loops, Strings, and Tuples") one of the > challenges is: "Write a program that counts for the user. Let the user > enter the starting number

Re: [Tutor] raw_input into range() function

2007-04-18 Thread Bob Gailer
Guba wrote: > Hello, > > I am trying to do the exercises in Michael Dawson's "Absolute Beginner" > book. In chapter four ("for Loops, Strings, and Tuples") one of the > challenges is: "Write a program that counts for the user. Let the user > enter the starting number, the ending number, and the amo

Re: [Tutor] raw_input into range() function

2007-04-18 Thread Kent Johnson
Guba wrote: > The code I have come up with so far is further below; basically my > problem is that I don't know how to feed the range() function with the > user-input numbers it expects. > # Telling the player what to do & assigning that info to variables. > start_num = int(raw_input("Please give

[Tutor] raw_input into range() function

2007-04-18 Thread Guba
Hello, I am trying to do the exercises in Michael Dawson's "Absolute Beginner" book. In chapter four ("for Loops, Strings, and Tuples") one of the challenges is: "Write a program that counts for the user. Let the user enter the starting number, the ending number, and the amount by which to count.