Archive:Think Python/Variables, expressions and statements: Difference between revisions

wikademia>Whiteknight
wikademia>Wikademia
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:




 
{{?}}


A '''value''' is one of the basic things a program works with,
A '''value''' is one of the basic things a program works with,
Line 474: Line 474:
programmers (or anyone reading the source code) and has no effect on the
programmers (or anyone reading the source code) and has no effect on the
execution of the program.
execution of the program.
</DD></DL>=== 2.12&#XA0;&#XA0;Exercises ===
</DD></DL>
=== 2.12&#XA0;&#XA0;Exercises ===


<DIV CLASS="theorem">'''Exercise&#XA0;3'''&#XA0;&#XA0;''
<DIV CLASS="theorem">'''Exercise&#XA0;3'''&#XA0;&#XA0;''
Line 517: Line 518:
<TT>//</TT> performs integer division.
<TT>//</TT> performs integer division.
</DD></DL>
</DD></DL>
<HR>
<IMG SRC="previous_motif.gif" ALT="Previous">
<IMG SRC="contents_motif.gif" ALT="Up">
<IMG SRC="next_motif.gif" ALT="Next">