랭귀지/python
python type 내장함수
유키공
2019. 2. 7. 11:04
type(object)은 입력값의 자료형이 무엇인지 알려주는 내장함수입니다.
print type("abc") print type([ ]) print type(open("test", 'w'))결과 :