Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59036

Re: Help - Exercise Decision

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <gary.herron@islandtraining.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.084
X-Spam-Evidence '*H*': 0.83; '*S*': 0.00; 'received:67.192': 0.09; 'received:67.192.241': 0.09; 'received:dfw.emailsrvr.com': 0.09; 'subject:Help': 0.11; 'operator.': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'practices,': 0.19; 'examples': 0.20; 'tests': 0.22; 'header :User-Agent:1': 0.23; 'received:emailsrvr.com': 0.24; 'question': 0.24; 'received:(smtp server)': 0.26; 'post': 0.26; 'header:In- Reply-To:1': 0.27; "i'm": 0.30; 'code': 0.31; 'you?': 0.31; 'equality': 0.31; 'gary': 0.31; 'please.': 0.31; 'link.': 0.33; 'message.': 0.35; 'there': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'greatest': 0.60; 'numbers': 0.61; 'matter': 0.61; 'email addr:gmail.com': 0.63; 'provide': 0.64; 'between': 0.67; 'subject:Decision': 0.84; 'them)': 0.84; 'tie': 0.84; 'ranking': 0.96
X-Virus-Scanned OK
Date Sun, 10 Nov 2013 16:34:39 -0800
From Gary Herron <gary.herron@islandtraining.com>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Help - Exercise Decision
References <3d585f7b-6e6c-46b8-94d9-33b4b30f11f8@googlegroups.com>
In-Reply-To <3d585f7b-6e6c-46b8-94d9-33b4b30f11f8@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2356.1384130501.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384130501 news.xs4all.nl 15952 [2001:888:2000:d::a6]:44076
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59036

Show key headers only | View raw


On 11/10/2013 02:56 PM, kennedysalvino.ks@gmail.com wrote:
> I'm trying to make a ranking of 3 numbers and say which the greatest and consider whether there is a tie between them, I am not able to make the conditions of draws.
>
> Code in PT-BR: http://pastebin.com/18pYJjPC

Please post the code directly in this message.  As a matter of 
safe-browsing practices, I won't follow that link.

One tests for equality (draws as you call them) with the == operator.    
In what way does that not work for you?  Your question is so terse, that 
I'm not sure what you want.  Provide some examples please.

Gary Herron

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Help - Exercise Decision kennedysalvino.ks@gmail.com - 2013-11-10 14:56 -0800
  Re: Help - Exercise Decision Gary Herron <gary.herron@islandtraining.com> - 2013-11-10 16:34 -0800
    Re: Help - Exercise Decision Kennedy Salvino <kennedysalvino.ks@gmail.com> - 2013-11-10 16:48 -0800
      Re: Help - Exercise Decision Gary Herron <gary.herron@islandtraining.com> - 2013-11-10 18:26 -0800
      Re: Help - Exercise Decision Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-11 02:59 +0000
  Re: Help - Exercise Decision Kennedy Salvino <kennedysalvino.ks@gmail.com> - 2013-11-11 03:55 -0800
  Re: Help - Exercise Decision Kennedy Salvino <kennedysalvino.ks@gmail.com> - 2013-11-11 03:55 -0800

csiph-web