Notice
Recent Posts
Recent Comments
Link
목록type (1)
아미(아름다운미소)
Python type() Check Python data type
Check Python data type Python에서는 데이터타입을 확인 하기 위해서는 type() 을 사용하여 확인 합니다. print(type(123)) print(type(12.3)) print(type('123'))# # # print(type([])) print(type([1, 2, 3, 4, 5])) print(type({})) print(type(()))# # # # print(type(None)) # print(type('한글')) print(type(u'한글')) # # Python 3에서는 문자열이 항상 유니코드로 처리되므로 u 표기 필요없습니다.
랭귀지/python
2018. 10. 1. 09:30