ⓟrogramming/Python

[Python] 파이썬 키워드

뚱땡이 우주인 2016. 10. 14. 16:48

총 33개
False, True, None 은 상수 예약어
print 와 exec, eval 는 키워드가 아니라 함수이다

assert는 디버깅할때 사용이 됨

assert 조건이 False일대 AssertionError의 메시지를 발생 시킨다


generator