diff options
Diffstat (limited to 'basics')
| -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) |
