| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Generator
- 파이썬
- 운영체제
- Regular Expression
- DWG
- Class
- 715. Range Module
- 30. Substring with Concatenation of All Words
- Python
- 315. Count of Smaller Numbers After Self
- Python Code
- t1
- attribute
- LeetCode
- 시바견
- concurrency
- Decorator
- Python Implementation
- shiba
- 컴퓨터의 구조
- kaggle
- Protocol
- 밴픽
- data science
- 프로그래머스
- 43. Multiply Strings
- iterator
- Convert Sorted List to Binary Search Tree
- Substring with Concatenation of All Words
- 109. Convert Sorted List to Binary Search Tree
Archives
- Today
- Total
목록object reference (1)
Scribbling
Python: Object References
ID operator returns the object's memory address. We use it to compare objects' identities. morgan = {'name': 'hoesu', 'age':29} hoesu = morgan print(hoesu is morgan) print(id(hoesu), id(morgan)) "==" operator calls __eq__() method in dict class and checks whether the objects have the same value or not. morgan = {'name': 'hoesu', 'age':29} anonymous = {'name': 'hoesu', 'age':29} print(morgan == a..
Computer Science/Python
2022. 4. 4. 12:21