Report any problems to
# Assume the following assignments have been made in Python
a = {1:'Arne'}
b = 3
c = True
d = [list(range(9)),[str(c),str(c),True,c or True],[['Kufa weld Trip','sory','Nor']]]
e = -1.1
| Expression | Your Answer | |
|---|---|---|
1. 1 not in a
| False
| |
2. str(int(e))
| '-1'
| |
3. list(a.values())
| ['Arne']
| |
4. b - b
| 0
| |
5. str(1 not in a)
| 'False'
| |
6. -e + -2.1
| -1.0
| |
7. a.get(1,1)
| 'Arne'
| |
8. (str(c == c)).isalpha()
| True
| |
9. d[0]
| [0, 1, 2, 3, 4, 5, 6, 7, 8]
| |
10. len(a) + 8
| 9
|