일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- t1
- 43. Multiply Strings
- 파이썬
- DWG
- Regular Expression
- shiba
- kaggle
- 운영체제
- Python Implementation
- 밴픽
- 715. Range Module
- iterator
- Protocol
- concurrency
- LeetCode
- 프로그래머스
- 315. Count of Smaller Numbers After Self
- 컴퓨터의 구조
- Generator
- 30. Substring with Concatenation of All Words
- data science
- 시바견
- Convert Sorted List to Binary Search Tree
- 109. Convert Sorted List to Binary Search Tree
- Decorator
- Python
- Python Code
- Substring with Concatenation of All Words
- attribute
- Class
Archives
- Today
- Total
목록weakref (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