diff --git a/Day 2 homework.md b/Day 2 homework.md index 95a2f4d..1cfd268 100644 --- a/Day 2 homework.md +++ b/Day 2 homework.md @@ -1,11 +1,11 @@ 1. Annotate the following python expressions with the specific types of each literal, as well as the overall return value: -* i = 3 -* f = 3.0 -* c = 3+3i -* b = b'abcdefg' -* s = 'abcdefg' -* s = "abcdefg" + * i = 3 + * f = 3.0 + * c = 3+3i + * b = b'abcdefg' + * s = 'abcdefg' + * s = "abcdefg" 2. For each of the types string, bytestring, integer, floating point, and imaginary literals, construct a 5x5 table showing what happens when the character "0" or number 0 is compared to each other type. 3. Now do the same thing for the + and == operators for each pair of types two other 5x5 tables.