Skip to content

Commit 6046a67

Browse files
authored
Merge pull request #347 from habibasorour/issue_331_comment
Issue 331: 8.1 added comments to code blocks
2 parents a27432c + 98ebc1d commit 6046a67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/ch8_filehandling.ptx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<program interactive="activecode" language="python">
1515
<code>
1616
import math
17-
print(math.sqrt(25))
17+
print(math.sqrt(25)) # notice the lower case 'm' in math
1818
</code>
1919
</program>
2020
</listing>
@@ -30,7 +30,7 @@
3030

3131
public class SquareRoot {
3232
public static void main(String[] args) {
33-
System.out.println(Math.sqrt(25));
33+
System.out.println(Math.sqrt(25)); // notice the upper case 'M' in Math
3434
}
3535
}
3636
</code>

0 commit comments

Comments
 (0)