diff options
| author | zhang <zch921005@126.com> | 2022-07-24 20:25:48 +0800 |
|---|---|---|
| committer | zhang <zch921005@126.com> | 2022-07-24 20:25:48 +0800 |
| commit | 92d3bc06bad13095df6515111bba45e73f701018 (patch) | |
| tree | 5730478fe92b39f3b909843546291d0eced774d0 /basics/python_basics.py | |
| parent | e9945ee44d8c46d93d50f023f49e79f3ba532583 (diff) | |
wordpiece
Diffstat (limited to 'basics/python_basics.py')
| -rw-r--r-- | basics/python_basics.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/basics/python_basics.py b/basics/python_basics.py new file mode 100644 index 0000000..bf780cc --- /dev/null +++ b/basics/python_basics.py @@ -0,0 +1,10 @@ + +def check_num_id(i): + a = i + b = i + print(i, id(a), id(b)) + + +if __name__ == '__main__': + for i in range(200, 260): + check_num_id(i) |
