[Python] 변수와 자료형
·
Python/Basic
키워드 (Keywords) 키워드는 Python에서 고유한 의미를 갖는 단어로 식별자로 사용할 수 없으며 각 키워드는 프로그램에서 특별한 기능을 수행합니다. import keyword # keyword 모듈을 가져옵니다. print(keyword.kwlist) # keyword의 목록을 출력합니다. Python의 키워드 목록은 위와 같이 작성하여 확인할 수 있습니다. ['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'i..
[C] 변수와 자료형
·
C | C++/Basic
키워드 (Keywords)키워드는 C언어에서 고유한 의미를 갖는 단어로 식별자로 사용할 수 없으며 각 키워드는 프로그램에서 특별한 기능을 수행합니다.autodogotosignedunsignedbreakdoubleifsizeofvoidcaseelseintstaticvolatilecharenumlongstructwhileconstexternregisterswitchcontinuefloatreturntypedefdefaultforshortunion다음은 32개의 C언어 키워드입니다.* 예약어(Reserved Word)라고도 합니다.식별자 (Identifier)식별자는 변수, 상수, 함수의 이름 등 사용자가 직접 정의한 데이터로 정의할 때 다음과 같은 규칙이 있습니다.- 영문 대소문자, 숫자, 언더바(_)로만 ..