Report any problems to
# Assume the following assignments have been made in Python
a = {3:-1.6,-8:1.4,-5:-1.6}
b = -2
c = True
d = ['Obie',7,1,len(a)]
e = 'PSWM'
| Expression | Your Answer | |
|---|---|---|
1. (list(a.values()).index(-1.6)) / b
| -0.0
| |
2. (str(3 not in a)).split('a')
| ['F', 'lse']
| |
3. len(e)
| 4
| |
4. (str(-1.6 in a)).lower()
| 'false'
| |
5. not 1.4 not in a
| False
| |
6. str(not c)
| 'False'
| |
7. (d.count(7) ** 0) < 1.3
| True
| |
8. str(c)
| 'True'
| |
9. b / -3 != 6
| True
| |
10. c or True and False
| True
|