from icecream import ic
def square(x):
return x * x
ic(square(5))
# ic| square(5): 25
x = 10
ic(x)
# ic| x: 10
y = [1, 2, 3]
ic(len(y), y)
# ic| len(y): 3, y: [1, 2, 3]
'프로그래밍 언어 > Python' 카테고리의 다른 글
pip 보다 빠른 uv (0) | 2025.04.06 |
---|---|
np.ndarray == None ? is None (0) | 2025.03.19 |
Torch의 unsqueeze(), unsqueeze_() (0) | 2025.03.19 |
집합 자료형 - set (0) | 2025.03.11 |
Python swapcase() (0) | 2025.03.02 |