Skip to content

Latest commit

 

History

History

readme.md

Total pg 319

How to do

Page 10/day in PDF

Study Log

Day1 (Mar 21, 2017)

Page 1~36 : Chapter1

  1. Install python 3.5.1
  2. Working Environment setup
  3. some examples

Day2 (Mar 22, 2017)

Page 37~45 : Chapter2 2.datatype 2_1. number integer float

string

  1. "ABC" 문자열안에 문자의 소유문이 들어갈 때 전체 문자열을 문자열 처리하기위해 큰 따옴표가 양쪽에 붙는다. ex) food = "Python's favorite food is perl"

  2. 'ABC' 큰 따옴표를 포한한 문자열은 작은 따옴표로 처리해서 출력 가능하게 한다. ex) say = '"Python is very easy." he says.' food1 = 'Python's favorite food is perl' say1 = ""Python is very easy." he says."

  3. """ABC"""

  4. '''ABC'''

여러 줄의 문자열

  1. \n ex) multiline = "Life is too short\n You need python"
  2. """
  3. '''

escape code 미리 정의해 둔 "문자조합"

  1. \n : 개행 (줄바꿈)
  2. \t : 수평 탭
  3. \ " 문자 """ , ""
  4. \
  5. \r : 캐리지 리턴
  6. \f : 폼피드
  7. \a : 벨 소리
  8. \r : 출력
  9. \f : 캐리지 리턴
  10. \a : 뫂디
  11. \b : 백 스페이스 12 \0000 : 널문자

5)) *\ = 마 *

operation -number -string

-concatenation