Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ben Finney Newsgroups: comp.lang.python Subject: Re: convert to python code Date: Wed, 23 Dec 2015 15:23:27 +1100 Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de v84RSFt7EZ5WZEK1DhOcMgD5lgZapcHvSNc1S5NA10MQ== Cancel-Lock: sha1:vh/flpKKLKoYFgvM8UXLwkafm0M= Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:code': 0.07; 'behave': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'seen,': 0.09; 'python': 0.10; 'subject:python': 0.14; '(and,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'code,': 0.23; 'code.': 0.23; 'tried': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'actual': 0.28; 'behaving': 0.29; 'convert': 0.29; 'code': 0.30; "can't": 0.32; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'expect': 0.37; 'say': 0.37; 'received:org': 0.37; 'seem': 0.37; 'things': 0.38; 'doing': 0.38; 'why': 0.39; 'whatever': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; "you'll": 0.61; 'show': 0.62; 'different': 0.63; 'believe': 0.66; 'here': 0.66; '_o__)': 0.84; 'received:125': 0.84; '\xe2\x80\xa6': 0.84 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100759 Rodrick Brown writes: > Tried a few things but can't seem to get it right any help ? To convert it to Python code, you'll need to actually write some code. Please show here in this forum the actual Python code which is not behaving how you want, and say *exactly* what it's doing different from what you expect (and, preferably, explain why you expect it to behave differently). -- \ “Do I believe in God? … without clarification of a kind I have | `\ never seen, I don’t know whether I believe or don’t believe in | _o__) whatever a questioner has in mind.” —Noam Chomsky | Ben Finney