Lecture 1
Lecture 1
Peter Lo
Who am I?
◼ Email: [email protected]
◼ Facebook: http://www.facebook.com/PeterLo111
Workshop Notes
http://www.Peter-Lo.com/Teaching/AMA-Python/
Source: https://spectrum.ieee.org/static/interactive-the-top-programming-languages-2018
Software development
Mathematics
System scripting
Jupyter Notebooks
Select Cell ➔ Run Cells to run the code (or press [Ctrl]
+ [Enter])
Select Cell ➔ Run Cells and Select Below to run the
code and move to next cell (or press [Shift] + [Enter])
Select Cell ➔ Run Cells and Insert Below to run the
code and then insert a next line
Select Cell ➔ Run All to run all the code in notebook
Select Cell ➔ Run All Above to run the code in
highlighted cell and above
Select Cell ➔ Run All Below to run the code in
highlighted cell and below
Declaring Variables
Variables do not need declaration to reserve memory
space. The "variable declaration" or "variable initialization"
happens automatically when we assign a value to a
variable.
In Python, you can re-declare the variable even after you have
declared it once.
Statement
Statement
Statement
fdsf
'\f' and '\r' are the escape sequences for the ASCII Form
Feed and Carriage Return characters; '\u2005' is the
escape sequence for the Unicode Four-Per-Em Space.