Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Help': 0.11; 'python': 0.11; 'jan': 0.12; 'suggest': 0.14; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:python': 0.16; 'url:home': 0.24; 'header:X-Complaints- To:1': 0.27; 'function': 0.29; '-0700,': 0.31; 'subject:some': 0.31; 'fri,': 0.33; 'subject:with': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'hours': 0.66; 'minutes': 0.67; 'received:108': 0.93; 'scott': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Help with some python homework... Date: Sat, 01 Feb 2014 10:44:35 -0500 Organization: IISS Elusive Unicorn References: <02c4c69d-71f1-4a01-86df-d4d5a7ffb3f5@googlegroups.com> <8da5d692-1446-4107-9a5a-5efd91f7c051@googlegroups.com> <2B1086E7-5E5F-4227-8F9E-92A37D2DE1D2@cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-68-178-125.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1391269472 news.xs4all.nl 2965 [2001:888:2000:d::a6]:37799 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65222 On Fri, 31 Jan 2014 18:14:31 -0700, Scott W Dunning declaimed the following: >hours = time_returned_home // HOURS >part_hour = time_returned_home % HOURS >minutes = part_hour // MINUTES >seconds = part_hour % MINUTES > Suggest you look at the Python manuals for the function divmod() -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/