본문 바로가기

Tech-Pyhton21

MIT OCW - Introduction to Computer Science and Programming in Python - Lecture 05 Lecture 5. TUPLES, LISTS, ALIASING, MUTABILITY, CLONING 이 글은 Mit Open Courseware(OCW)에서 공개한 교육자료이며 OCW의 라이센스정책을 따릅니다. License : Common Creative License : BY-NC-SA (저작자표시-비영리-동일조건변경허락) 출처 : https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/lecture-slides-code/MIT6_0001F16_Lec5.pdf 1. TUPLES 1) Tuple의.. 2019. 2. 12.
MIT OCW - Introduction to Computer Science and Programming in Python - Lecture 04 Lecture 4. DECOMPOSITION, ABSTRACTION, FUNCTIONS 이 글은 Mit Open Courseware(OCW)에서 공개한 교육자료이며 OCW의 라이센스정책을 따릅니다. License : Common Creative License : BY-NC-SA (저작자표시-비영리-동일조건변경허락) 출처 : https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/lecture-slides-code/MIT6_0001F16_Lec4.pdf 1. Abstraction & Decomposi.. 2019. 1. 25.
MIT OCW - Introduction to Computer Science and Programming in Python - Lecture 03 Lecture 3. STRING MANIPULATION, GUESS-and-CHECK, APPROXIMATIONS, BISECTION 이 글은 Mit Open Courseware(OCW)에서 공개한 교육자료이며 OCW의 라이센스정책을 따릅니다. License : Common Creative License : BY-NC-SA (저작자표시-비영리-동일조건변경허락) 출처 : https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/lecture-slides-code/MIT6_0001F16_Lec3.pdf .. 2019. 1. 10.
MIT OCW - Introduction to Computer Science and Programming in Python - Lecture 02 Lecture 2. BRANCHING, ITERATION 이 글은 Mit Open Courseware(OCW)에서 공개한 교육자료이며 OCW의 라이센스정책을 따릅니다.License : Common Creative License : BY-NC-SA (저작자표시-비영리-동일조건변경허락) 출처 : https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/lecture-slides-code/MIT6_0001F16_Lec2.pdf 1. Strings- String : 문자, 특수문자, 스페이스, 숫자로 구성-.. 2019. 1. 9.
MIT OCW - Introduction to Computer Science and Programming in Python - Lecture 01 파이썬 다시 시작하기. 이번에는 중간에 멈추지 말고 끝까지 한번 해보아요 =================== MIT Mooc(Massive Online Open Course)인 MIT OCW과정의 학습내용요약 MIT OCW (Open CourseWare) 과정명 : Introduction to Computer Science and Programming in Python (출처는 링크) License : Common Creative License : BY-NC-SA (저작자표시-비영리-동일조건변경허락) Lecture 1. What is computation? 앞 부분의 프로그래밍 기초는 생략. 파이썬부분부터 시작 1. Object - 프로그램은 data object 를 조작- object는 종류를 정의할 .. 2018. 12. 30.
Python print에서 Single Quotation과 Double Quotation Python의 print 함수는 문자열입력시 Single Quotation(')과 Double Quotation("") 을 모두 허용한다. 일반 문자열을 처리할때는 Single이나 Double이나 차이가 없다. 하지만 문자열 내에 Single quotation이나 Double quotation이 있는 경우 이스케이프 문자(\)를 사용하는데 여기서 조금 차이가 있다 1. Single quotation으로 처리할 경우 문자열 내의 Single quotation은 이스케이프 문자를 사용해야 한다. print ('\'hello\'') 2, Single quotation으로 처리할 경우 문자열 내의 Double quotation은 이스케이프 문자가 필요없다. print ('"hello"') 3. Double qu.. 2018. 12. 13.