Report any problems to
# Assume the following assignments have been made in Python
a = 'CWC Kroo'
b = False
c = 4
d = -2.1
e = {7:-1.6,3:d,-9:-1.3,-10:d}
| Expression | Your Answer | |
|---|---|---|
1. a.split()
| ['CWC', 'Kroo']
| |
2. -c <= -1.2
| True
| |
3. (str(c).find('4')) / 8
| 0.0
| |
4. str(b).find('F')
| 0
| |
5. str(c)
| '4'
| |
6. str((d != 0.7 != True))
| 'True'
| |
7. str(b)
| 'False'
| |
8. (len(e) / 6) < d
| False
| |
9. (str(int(d))).replace('2', 'g')
| '-g'
| |
10. a.split()
| ['CWC', 'Kroo']
|