Report any problems to
# Assume the following assignments have been made in Python
a = 8
b = {1:True,-3:False,5:True}
c = -1.4
d = False
e = list(range(5,12))
| Expression | Your Answer | |
|---|---|---|
1. len((str(11 in e)))
| 4
| |
2. str(a)
| '8'
| |
3. list(b.items())
| [(1, True), (-3, False), (5, True)]
| |
4. (True in b and d) and True
| False
| |
5. -c - c
| 2.8
| |
6. list(b.items())
| [(1, True), (-3, False), (5, True)]
| |
7. c != 7
| True
| |
8. int(c)
| -1
| |
9. c + c != a
| True
| |
10. d and d == d
| False
|