Skip to content

Commit 10c409b

Browse files
committed
fixes another instance of the same reference link broken
1 parent ce4c098 commit 10c409b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pretext/Selection/PrecedenceofOperators.ptx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<title>Precedence of Operators</title>
44
<p>We have now added a number of additional operators to those we learned in the previous chapters. It is important to understand how these operators relate to the others with respect to operator precedence. Python will always evaluate the arithmetic operators first (** is highest, then multiplication/division, then addition/subtraction). Next comes the relational operators. Finally, the logical operators are done last. This means that the expression <c>x*5 &gt;= 10 and y-6 &lt;= 20</c> will be evaluated so as to first perform the arithmetic and then check the relationships. The <c>and</c> will be done last. Although many programmers might place parenthesis around the two relational expressions, it is not necessary.</p>
55
<p>The following table summarizes the precedence discussed so far from highest to lowest.
6-
See <xref ref="appendices_precedence-table"/> for <em>all</em> the operators introduced in this book.</p>
6+
See <xref ref="appendices_operator-precedence-table"/> for <em>all</em> the operators introduced in this book.</p>
77
<table>
88
<tabular>
99
<row header="yes">

0 commit comments

Comments
 (0)