From 177a4654cc20a9cc07f0151b118f04dbe70e56f6 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 31 Mar 2023 03:32:29 +0200 Subject: [PATCH] Update page 'Day 2 homework' --- Day 2 homework.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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.