Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65977
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Subject | Re: Simple % question |
| Date | 2014-02-12 12:31 +1100 |
| References | <63EBCBF1-6C1B-4B8B-9D4A-0567CBDA978A@cox.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6714.1392168694.18130.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Simple % question Ben Finney <ben+python@benfinney.id.au> - 2014-02-12 12:31 +1100
csiph-web