Best way to learn it practice

Prof. Jeremy mentioned that we really need to code to get better understanding. The thing is when we open the notebook everything is coded already for us. Just wondering how did you guys do the coding practice?

Open a new notebook and try to do it from scratch without looking examples.