diff --git a/source/ch3_javadatatypes.ptx b/source/ch3_javadatatypes.ptx index e33d9b1..ffca06d 100644 --- a/source/ch3_javadatatypes.ptx +++ b/source/ch3_javadatatypes.ptx @@ -87,7 +87,7 @@ - A data type fundamentally defines a set of values and the operations you can perform on them. For instance, you can do math with int and double values, but not with boolean values. This is simlar to Python, where you can perform arithmetic on integers and floats, but not on booleans or strings. + A data type fundamentally defines a set of values and the operations you can perform on them. For instance, you can do math with int and double values, but not with boolean values. This is similar to Python, where you can perform arithmetic on integers and floats, but not on booleans or strings.
@@ -448,7 +448,7 @@ def main():
count[int(line)] = count[int(line)] + 1
idx = 0
for num in count:
- print(idx, " occured ", num, " times.")
+ print(idx, " occurred ", num, " times.")
idx += 1
main()