![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FlHP4F%2FbtsdduH4887%2FXJgBfQHqUtchK3o5tML9JK%2Fimg.png)
[파이썬 기초문법] 2. 자료형
a='hello world' a[0] h a[6] w - 변수에 저장 a='hello world' - 자료형 확인하기: type() type(a) - 사용가능한 메서드 확인 dir() dir(a) ['__add__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getnewargs__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mod__'..
Comment