비전공개미 개발노트
python 1일차 기본문법 본문
반응형
SMALL
# 주석문 : 컴파일되지 않는다. 설명문
# 한줄 주석문
# 소스작성 -> Compile(기계어번역) -> Build(exe파일작성) -> Link -> 실행
# CPU(Central Processing Unit)
# Multi processing방식(IOS, windows)
# 최소단위 bit
# 8bit == 1byte
# 255 + 0 =>256개
# 32bit RGBA
"""
범위 주석문
"""
'''
범위 주석문
'''
# 출력문(결과확인)
print('hello python')
print('hello', 'python') # , 한칸띄우기
print('이름\t나이\t지역') # 글자정렬
print('홍길동\t24\t서울')
print(len('안녕하세요'))
print(type('안녕하세요'))반응형
LIST
'프로그래밍 > Python' 카테고리의 다른 글
| python 3일차 - file write/read, try catch 예외처리 (0) | 2022.08.31 |
|---|---|
| python 3일차 - 함수, 매개변수, 가변인자 (0) | 2022.08.31 |
| python 3일차 - 람다(lambda)를 이용하여 줄여쓰기 (0) | 2022.08.31 |
| python 2일차 - if문, for문, while문, enumerate (0) | 2022.08.30 |
| python 1일차 - 변수 (0) | 2022.08.30 |
Comments