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


Groups > comp.lang.python > #65977 > unrolled thread

Re: Simple % question

Started byBen Finney <ben+python@benfinney.id.au>
First post2014-02-12 12:31 +1100
Last post2014-02-12 12:31 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Simple % question Ben Finney <ben+python@benfinney.id.au> - 2014-02-12 12:31 +1100

#65977 — Re: Simple % question

FromBen Finney <ben+python@benfinney.id.au>
Date2014-02-12 12:31 +1100
SubjectRe: Simple % question
Message-ID<mailman.6714.1392168694.18130.python-list@python.org>
Scott W Dunning <swdunning@cox.net> writes:

> I just have a simple question.  I don’t understand why 1%10  = 1?

Have you read the documentation for that operator?
<URL:http://docs.python.org/3/reference/expressions.html#binary-arithmetic-operations>

The language reference <URL:http://docs.python.org/3/reference/> is the
place to look for official explanations of language features.

-- 
 \       “I met my girlfriend in Macy's; she was buying clothes, and I |
  `\           was putting Slinkies on the escalators.” —Steven Wright |
_o__)                                                                  |
Ben Finney

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web