HarryPython
1.0.0
Learn Python with HarryPython
Harry Potter has been published in Latin, Ancient Greek, and 66 other languages, and is often used as a stepping stone into learning a language. Why not Python as well?
Setup Python with Jupyter Notebook locally for following along.
Setup Jupyter Notebook
// TODO: Add comments examples
// TODO: Add strings examples
Example from [Chapter 1, Page 1, Paragraph 1:
Create a list:
dursleys = [MrDursley,MrsDursley]
Append one item to a list using append():
MrDursley.possessions.append(['very large moustache'])
Extend a list with several items using extend():
MrsDursley.appearance.extend(['thin','blonde','long neck'])
// TODO: Add math examples
// TODO: Add examples
// TODO: Add examples
// TODO: Add examples