Jupyter

record some skills using jupyter.

debugging way :

3
1
2
from IPython.core.debugger import set_trace
set_trace()

n :execute and go to the next line
c :continue the program
h: overview of the commands
s: step in the functionn.

del、remove、pop difference

cmp do not include in python3
(a, b)[x>y]
if x>y is true then return b,else return a.

;