편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
4번째 줄: | 4번째 줄: | ||
==Python== | ==Python== | ||
[[category: Python]] | [[category: Python]] | ||
< | <source lang='Python'> | ||
class myUtil(object): | class myUtil(object): | ||
def square(x): | def square(x): | ||
11번째 줄: | 11번째 줄: | ||
print( myUtil.square(3) ) | print( myUtil.square(3) ) | ||
# 9 | # 9 | ||
</ | </source> | ||
==같이 보기== | ==같이 보기== | ||
*[[class]] | *[[class]] | ||