Re: [Tutor] Python problem

2012-01-10 Thread Dave Angel
On 01/10/2012 05:04 AM, Bojan Antonijevic wrote: Hello, I send you a mail at 29.12.2011. about problem with my IDLE (Python GUI) and I didnt recive any ansfer; Instead, I am receiving correspondence between other members of forum; Honestly, I don't want to receive all this conversation's. Thank

Re: [Tutor] Python problem

2012-01-10 Thread wolfrage8...@gmail.com
To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor On Tue, Jan 10, 2012 at 11:04 AM, Bojan Antonijevic wrote: > Hello, > > I send you a mail at 29.12.2011. about problem with my IDLE (Python GUI) and > I didnt recive any ansfer; Instead, I am receiving  c

[Tutor] Python problem

2012-01-10 Thread Bojan Antonijevic
Hello, I send you a mail at 29.12.2011. about problem with my IDLE (Python GUI) and I didnt recive any ansfer; Instead, I am receiving correspondence between other members of forum; Honestly, I don't want to receive all this conversation's. Thank you. _

Re: [Tutor] python problem

2007-09-26 Thread Chris
ubject: Re: [Tutor] python problem Greetings Chris, On 9/25/07, Chris <[EMAIL PROTECTED]> wrote: > > Ok as I see it, it's should go like this: > > Print 'Think of a number between 1 and 100, and let me guess it' > > Type1 = input ('Type 1 if I am hig

Re: [Tutor] python problem

2007-09-26 Thread Kent Johnson
Chris wrote: > Ok as I see it, it's should go like this: > > Print 'Think of a number between 1 and 100, and let me guess it' > > Type1 = input ('Type 1 if I am high') > Type2 = input ('Type 2 if I am low') > Type3 = input ('Type 3 if I am dead on') This will ask for three different inputs whi

Re: [Tutor] python problem

2007-09-26 Thread bhaaluu
> if guess > number: > > print "Your guess is too high." > > else: #elif guess < number: > > print "Your guess is too low." > > guess = input( "What's your next guess? " ) print > > "Congratulations!

Re: [Tutor] python problem

2007-09-25 Thread Chris
" > guess = input( "What's your next guess? " ) print > "Congratulations! You guessed the number." -Original Message- From: Kent Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 7:32 PM To: Chris Cc: tutor@python.org Subject: Re: [T

Re: [Tutor] python problem

2007-09-25 Thread Kent Johnson
Chris wrote: > Guess the number from the user using 1,2,3 keys > Ask the user if # is high, low, or dead on. > Print 'you got it' when Python gets it. > > As you can see I need help. I've given you the pseudo code. OK, how about some real code? If we write the program for you

Re: [Tutor] python problem

2007-09-25 Thread Chris
org Subject: Re: [Tutor] python problem On 9/25/07, Chris <[EMAIL PROTECTED]> wrote: > I have this GUESSING GAME code found below: > - > import random > number = random.randint(1, 101) > print "I've thought of a number between 1 and 100." > prin

Re: [Tutor] python problem

2007-09-25 Thread bhaaluu
On 9/25/07, Chris <[EMAIL PROTECTED]> wrote: > I have this GUESSING GAME code found below: > - > import random > number = random.randint(1, 101) > print "I've thought of a number between 1 and 100." > print "Try and guess it!" > print > guess = input( "What's your guess? ") > wh

Re: [Tutor] python problem

2007-09-24 Thread Michael Langford
Look here. Do this: http://en.wikipedia.org/wiki/Binary_search -- Michael Langford Phone: 404-386-0495 Consulting: http://www.TierOneDesign.com/ Entertaining: http://www.ThisIsYourCruiseDirectorSpeaking.com On 9/25/07, Chris <[EMAIL PROTECTED]> wrote: > > > > ***I have this GUESSING GA

[Tutor] python problem

2007-09-24 Thread Chris
I have this GUESSING GAME code found below: - import random number = random.randint(1, 101) print "I've thought of a number between 1 and 100." print "Try and guess it!" print guess = input( "What's your guess? ") while guess != number: if guess > number: print

Re: [Tutor] python problem - help!!

2007-09-24 Thread Kent Johnson
Chris wrote: > I need your help! > > > > I have this problem that I can’t seem to figure out. Can you help? The > problem is listed below, and below it is my code that I have so far. This looks like a homework problem. We can help you understand Python but we won't give you the answer. >

Re: [Tutor] python problem - help!!

2007-09-23 Thread Luke Paireepinart
Chris wrote: > > I need your help! > > > > I have this problem that I can’t seem to figure out. Can you help? > The problem is listed below, and below it is my code that I have so far. > What results / errors are you getting, how are they different from the results you want to get? -Luke ___

[Tutor] python problem - help!!

2007-09-23 Thread Chris
I need your help! I have this problem that I can’t seem to figure out. Can you help? The problem is listed below, and below it is my code that I have so far. Two hockey teams play eight time

Re: [Tutor] python problem

2007-03-01 Thread Andreas Kostyrka
Actually, it's a corner case, because the posted exercise seems to be the lab exercise where students are allowed to cooperate and ask for help. The second part of the exercise they need to do themselves alone. Andreas ___ Tutor maillist - Tutor@python

Re: [Tutor] python problem

2007-03-01 Thread Carroll, Barry
> -Original Message- > Date: Thu, 1 Mar 2007 10:54:36 -0500 > From: Kent Johnson <[EMAIL PROTECTED]> > Subject: Re: [Tutor] python problem > To: "Purcell, Brittany Nicole" <[EMAIL PROTECTED]>, > > Message-ID: > <[EMAIL PROTECT

Re: [Tutor] python problem

2007-03-01 Thread Andreas Kostyrka
Why does that look like a homework to me? One where you are supposed to solve it by yourself? Andreas _ Ursprüngliche Mitteilung _ Betreff:[Tutor] python problem Autor: "Purcell, Brittany Nicole" <[EMAIL PROTECTED]> Datum: 1. März 2007 7:40:45 I hav

Re: [Tutor] python problem

2007-03-01 Thread Kent Johnson
> From: "Ted Roche" <[EMAIL PROTECTED]> > Sounds like A201 to me... > > http://www.cs.indiana.edu/classes/a201/Syllabus.html Yes, assignment 7 lab work http://www.cs.indiana.edu/classes/a201/a/7/index.html Kent ___ Tutor maillist - Tutor@python.org

Re: [Tutor] python problem

2007-03-01 Thread Rikard Bosnjakovic
On 3/1/07, Purcell, Brittany Nicole <[EMAIL PROTECTED]> wrote: > I have no idea how to even begin to program something like this and > what I need to do is: We won't do your homework unless you atleast show that you are interested in learning what you are doing, and not only going for grade point

Re: [Tutor] python problem

2007-03-01 Thread Kent Johnson
> > From: "Purcell, Brittany Nicole" <[EMAIL PROTECTED]> > Date: 2007/03/01 Thu AM 01:40:45 EST > To: tutor@python.org > Subject: [Tutor] python problem > > I have no idea how to even begin to program something like this and > what I need to do is:

[Tutor] python problem

2007-03-01 Thread Purcell, Brittany Nicole
I have no idea how to even begin to program something like this and what I need to do is: To complete the skeleton by replacing ellipsis (in this case vertical) with a solution. The number of dot indicates the number of lines of the solution, and fill in the following dots: def every_nth(s, n)

Re: [Tutor] python problem

2005-05-26 Thread Alan G
> i'm trying to write a code that handle errors help > > def print_menu(): ... Personally I try to get the menu function to return the value selected that way the meniu options and the code to check it is all wrapped up in the same place. But that is only a side issue... > while menu_choice != 5

Re: [Tutor] python problem

2005-05-26 Thread Andrei
Feziwe Mpondo sanbi.ac.za> writes: > i'm trying to write a code that handle errors help I think the indentation was screwed up. > while menu_choice != 5: > menu_choice = input("Type in a number (1-5):") I'd avoid using input. Use raw_input instead. > break break stops a loop. So you

[Tutor] python problem

2005-05-26 Thread Feziwe Mpondo
hi i'm trying to write a code that handle errors help def print_menu(): print '1. Print Phone Numbers' print '2. Add a Phone Number' print '3. Remove a Phone Number' print '4. Lookup a Phone Number' print '5. Quit' print numbers = {} menu_choice = 0 print_menu() while men