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


Groups > comp.lang.python > #90758

Re: Rule of order for dot operators?

Date 2015-05-16 14:38 -0500
From Tim Chase <python.list@tim.thechases.com>
Subject Re: Rule of order for dot operators?
References <55579886.3010001@cdreimer.com>
Newsgroups comp.lang.python
Message-ID <mailman.86.1431807388.17265.python-list@python.org> (permalink)

Show all headers | View raw


On 2015-05-16 12:20, C.D. Reimer wrote:
> Does python perform the dot operators from left to right or
> according to a rule of order (i.e., multiplication/division before
> add/subtract)?

Yes, Python evaluates dot-operators from left to right.

-tkc

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


Thread

Re: Rule of order for dot operators? Tim Chase <python.list@tim.thechases.com> - 2015-05-16 14:38 -0500
  Re: Rule of order for dot operators? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-17 19:18 +0200

csiph-web