Report any problems to
# Assume the following assignments have been made in Python
a = False
b = {8:list(range(9,10,3)),-8:list(range(5))}
c = 10
d = 'IDEA myxo'
e = list(range(2))
| Expression | Your Answer | |
|---|---|---|
1. c / c - c
| -9.0
| |
2. e[0:1]
| [0]
| |
3. str((not 8 in b))
| 'False'
| |
4. len(d)
| 9
| |
5. c == c != False
| True
| |
6. list(b.keys())
| [8, -8]
| |
7. str((not not a))
| 'False'
| |
8. str(a).find('s')
| 3
| |
9. d.split('o')
| ['IDEA myx', '']
| |
10. len(b) + -3
| -1
|