Report any problems to
# Assume the following assignments have been made in Python
a = 1.8
b = {-2:'dpt. ooze'}
c = list(range(8))
d = -4
e = False
| Expression | Your Answer | |
|---|---|---|
1. -2 in b
| True
| |
2. str(len(b))
| '1'
| |
3. str(e).find('a')
| 1
| |
4. str(e != False)
| 'False'
| |
5. c[2:4:6]
| [2]
| |
6. c[5]
| 5
| |
7. e or e
| False
| |
8. round(d / -6, 0)
| 1.0
| |
9. (-d - d) % (3+1)
| 0
| |
10. str((len(b) ** 2))
| '1'
|