Skip to content

Commit 98ebc1d

Browse files
committed
added comments to code blocks
1 parent c116c55 commit 98ebc1d

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
@@ -12,7 +12,7 @@
1212
<program xml:id = "file-class-import-Python-example" interactive="activecode" language="python">
1313
<code>
1414
import math
15-
print(math.sqrt(25))
15+
print(math.sqrt(25)) # notice the lower case 'm' in math
1616
</code>
1717
</program>
1818

@@ -25,7 +25,7 @@
2525

2626
public class SquareRoot {
2727
public static void main(String[] args) {
28-
System.out.println(Math.sqrt(25));
28+
System.out.println(Math.sqrt(25)); // notice the upper case 'M' in Math
2929
}
3030
}
3131
</code>

0 commit comments

Comments
 (0)