2020-10-19 21:08:55

This commit is contained in:
wizardforcel
2020-10-19 21:08:55 +08:00
parent 7f63048035
commit ab0caba1f0
140 changed files with 3982 additions and 3982 deletions

View File

@@ -6,34 +6,34 @@
In [1]:
```
```py
a = 257
```
In [2]:
```
```py
type(a)
```
Out[2]:
```
```py
int
```
In [3]:
```
```py
id(a)
```
Out[3]:
```
```py
53187032L
```
@@ -41,27 +41,27 @@ Out[3]:
In [4]:
```
```py
b = a
```
In [5]:
```
```py
id(b)
```
Out[5]:
```
```py
53187032L
```
In [6]:
```
```py
c = 258
id(c)
@@ -69,7 +69,7 @@ id(c)
Out[6]:
```
```py
53186960L
```
@@ -77,7 +77,7 @@ Out[6]:
In [7]:
```
```py
def foo():
print 'hi'
@@ -85,27 +85,27 @@ def foo():
In [8]:
```
```py
type(foo)
```
Out[8]:
```
```py
function
```
In [9]:
```
```py
id(foo)
```
Out[9]:
```
```py
63632664L
```
@@ -113,27 +113,27 @@ Out[9]:
In [10]:
```
```py
type(type)
```
Out[10]:
```
```py
type
```
In [11]:
```
```py
id(type)
```
Out[11]:
```
```py
506070640L
```
@@ -141,12 +141,12 @@ Out[11]:
In [12]:
```
```py
id(if)
```
```
```py
File "<ipython-input-12-1e0d1307109a>", line 1
id(if)
^
@@ -156,12 +156,12 @@ SyntaxError: invalid syntax
In [13]:
```
```py
id(+)
```
```
```py
File "<ipython-input-13-86853fe3c6fd>", line 1
id(+)
^