Update page 'Day 2 homework - Sloetjes'
@@ -36,7 +36,7 @@ The overall return value of each expression is the value assigned to the corresp
|
||||
|
||||
##### 3. Now do the same thing for the + and == operators for each pair of types in two other 5x5 tables.
|
||||
|
||||
##### The "+" operator case:
|
||||
###### The "+" operator case:
|
||||
| | **'0'** | **b'0'** | **0** | **0.0**| **0j** |
|
||||
|---|---------|---------|---------|---------|---------|
|
||||
| **'0'** | '00' | TypeError | TypeError | TypeError | TypeError |
|
||||
@@ -45,7 +45,7 @@ The overall return value of each expression is the value assigned to the corresp
|
||||
| **0.0**| TypeError | TypeError | 0.0 | 0.0 | TypeError |
|
||||
| **0j** | TypeError | TypeError | 0j | TypeError| 0j |
|
||||
|
||||
##### The "==" operator case:
|
||||
###### The "==" operator case:
|
||||
|
||||
| | **'0'** | **b'0'** | **0** | **0.0**| **0j** |
|
||||
|---|---------|---------|---------|---------|---------|
|
||||
|
||||
Reference in New Issue
Block a user