[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple % question

Scott W Dunning <swdunning at 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?

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