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: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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