Last login: Fri Feb 4 08:31:53 on ttys006 The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. MAC:Fri Feb 04:08:48:~> python Python 3.10.0 (v3.10.0:b494f5935c, Oct 4 2021, 14:59:19) [Clang 12.0.5 (clang-1205.0.22.11)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> x = 5 >>> type(x) >>> x = "In the beginning ......" >>> type(x) >>> x.upper() 'IN THE BEGINNING ......' >>> id(x) 4318930752 >>> hex(id(x)) '0x1016da740' >>> y = 5 >>> id(y) 4311105904 >>> >>> hex(id(y)) '0x100f64170' >>> hex(id(6)) '0x100f64190' >>> hex(id(7)) '0x100f641b0' >>> hex(id(100)) '0x100f64d50' >>> hex(id(255)) '0x100f660b0' >>> hex(id(256)) '0x100f660d0' >>> hex(id(511)) '0x10188c0d0' >>> hex(id(512)) '0x10188c050' >>> hex(id(513)) '0x10188c0d0' >>> hex(id(514)) '0x10188c050' >>> x = 5 >>> x = x + 2 >>> x 7 >>> dir() ['__annotations__', '__builtins__', '__doc__', '__loader__', '__name__', '__package__', '__spec__', 'x', 'y'] >>> y 5 >>>