Update page 'Day 2 homework - Sloetjes'
@@ -36,6 +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.**
|
**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'** | **b'0'** | **0** | **0.0**| **0j** |
|
||||||
|---|---------|---------|---------|---------|---------|
|
|---|---------|---------|---------|---------|---------|
|
||||||
| **'0'** | '00' | TypeError | TypeError | TypeError | TypeError |
|
| **'0'** | '00' | TypeError | TypeError | TypeError | TypeError |
|
||||||
|
|||||||
Reference in New Issue
Block a user