There was an e.g in 04:35
a = [("a", 10), ("b", 20) ("k", 12), ("h", 1)]
sorted(a)
but when I run this in my jupyter-notebook
I get this error
TypeError Traceback (most recent call last)
<ipython-input-17-2979d451ce3d> in <module>
----> 1 a = [("abn", 10), ("bh", 20) ("ke", 12), ("hc", 1)]
2 sorted(a)
TypeError: 'tuple' object is not callable