Report any problems to
# Assume the following assignments have been made in Python
a = 'junt'
b = {-7:2.1,-1:0.7,4:2.4,-9:0.1}
c = 5
d = False
e = -0.6
| Expression | Your Answer | |
|---|---|---|
1. str((int(e) > e))
| 'True'
| |
2. (d or True != True) == False
| True
| |
3. list(b.keys()).count(-1)
| 1
| |
4. (-e - c) + -0.3
| -4.7
| |
5. (not e == c) == d
| False
| |
6. int(c / -6)
| 0
| |
7. int(c / -6)
| 0
| |
8. str((c <= -5 != True))
| 'False'
| |
9. str(d).split('a')
| ['F', 'lse']
| |
10. (str(0.7 in b)).lower()
| 'false'
|