After learning this quick tutorial on Python 3, you will accummulate confidence in writting your own Python codes.

### 1 Short Introduction

#### 1.1 Numbers

- ‘
**/**‘ always returns a float; ‘**//**‘ does floor division and returns an integer; ‘**%**‘ calculates the remainder; power calculation is done by ‘******‘

12345678910>>> 17/35.666666666666667>>> 17//35>>> 17%32>>> -17//3-6>>> 5**225 - In interactive mode, the last
*printed*expression is assigned to a special variable ‘**_**‘ (underscore), similar as ‘*ans*‘ in Matlab.

12345>>> 5+16>>> a=5>>> _6

The ‘_’ variable shall be treated as read-only. Assigning a value to it will invalidate its embedded magic behavior.