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
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
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.
_
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
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
> 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!
"
> 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
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
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
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
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
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
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.
>
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
___
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
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
> -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
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
> 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
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
>
> 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:
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)
> 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
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
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
25 matches
Mail list logo