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


Groups > comp.lang.python > #65994

Re: Simple % question

Subject Re: Simple % question
From Scott W Dunning <swdunning@cox.net>
Date 2014-02-11 20:30 -0700
References <63EBCBF1-6C1B-4B8B-9D4A-0567CBDA978A@cox.net> <RDgz1n0163bjUJS01Dh2pq>
Newsgroups comp.lang.python
Message-ID <mailman.6726.1392178841.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Feb 11, 2014, at 6:36 PM, Chris Angelico <rosuav@gmail.com> wrote:
> 
> The real question is: What do you expect that symbol to mean?
> 
> Its actual meaning is quite simple. In long division, dividing one
> number by another looks like this:

Yeah I understand what the % means.  It just confused me that 1%10 was 1.  In my thought process it just didn’t work.  1/10= .1 and I just didn’t see where the remainder of 1 came in.  

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


Thread

Re: Simple % question Scott W Dunning <swdunning@cox.net> - 2014-02-11 20:30 -0700

csiph-web