Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!charon!guido From: guido@cwi.nl (Guido van Rossum) Newsgroups: comp.lang.misc Subject: Re: standard extensions to programming languages Message-ID: <3084@charon.cwi.nl> Date: 4 Mar 91 13:04:12 GMT References: <3439.27ca4e40@iccgcc.decnet.ab.com> <.LR9UA4@xds13.ferranti.com> Sender: news@cwi.nl Lines: 19 peter@ficc.ferranti.com (Peter da Silva) quotes and replies: >> when what I want is >> (q, r) = dividend divided by divisor > >Than you need a different programming language. In Python you can write: (q, r) = divmod(dividend, divisor) or even: q, r = divmod(dividend, divisor) And Python isn't even stack-oriented! --Guido van Rossum, CWI, Amsterdam "Oh Bevis! And I thought you were so rugged!"