DS/fast campus daily report
6.24 (데이터엔지니어링) 기본 타입및 변수의 이해 1, 2
eagle9898
2020. 6. 24. 11:54
기본 타입및 변수의 이해 1, 2 (15:21, 13:17)
변수 타입
- int
- float
- string
- boolean
a = 10; type(a); int type임을 알 수 있음
None : 변수 선언시 어떤 값을 할당해야 함(초기화). 초기화할 값이 없을 경우. None 사용
비교연산자
a=5; b=4
print( a>b ) #True
print( a<b ) #False
print( a>=b ) #True
print( a<=b ) #False
print( a==b ) #False
print( a!=b ) #True
학습 후