자료형
-
[Python] 01. 자료형#1코딩(Coding)/Python 공부 2021. 1. 29. 12:59
이 글은 제가 python을 공부하기위해 작성하는 글입니다. python을 어느정도 알고는 있는지만, 기회가 생겨서 같이 공부하는 분께 소개와 함께 자료를 준비한 것을 글로쓰는 것이기 때문에 설명이 누락된 부분이 있을 수 있습니다... 자료형 자료형은 프로그래밍에서 숫자,문자열등 자료형태로 사용하는 모든 것을 뜻한다. 숫자형 wikidocs.net/12 위키독스 온라인 책을 제작 공유하는 플랫폼 서비스 wikidocs.net 숫자 자료형에는 0과 1로 표현되는 참/거짓(bool)과 정수형(int), 실수형(flaot)이 대표적으로 있고, python에서는 2진수, 8진수, 16진수등 여러 숫자표현이 존재한다. # 참/거짓 this = True # 정수형 int a = 42 # 실수형 float b = 4..