전체 글 (15) 썸네일형 리스트형 1, 2강 In-class Questions 1강 In-class Questions 1강의 1, 3번 코드는은 이상하게 따옴표 (' ')가 쳐져있다. 그래서 그대로 풀면 전부 다 string이라서 아무것도 안 나온다. 문제를 풀 때는 따옴표가 없다고 생각하고 풀면 된다. 답이 그렇더라. 1번 더보기 A> 2.0. type(5)는 int이지만 우리는 출력하라고 명령을 하지 않았다. 컴퓨터는 우리가 시킨 것만 하기 때문에 명령받은 (3.0-1), 2.0만을 출력한다. 열심히 계산해놓고 결과물을 빼먹는 실수를 조심하자. 2번 더보기 A > 4번. 파이썬에서 = 는 같다 라는 뜻이 아니다!!! "같다"를 뜻하는 논리연산자는 ' == ' 이다. = 는 왼쪽 객체에 오른쪽을 값을 할당하는 할당연산자에 해당한다. 따라서 이 문제의 핵심은 왼쪽의 변수명 (객체의.. 2강 - Branching and Iteration 링크 Lecture 2: Branching and Iteration | Introduction to Computer Science and Programming in Python | Electrical Engineering and Com MIT OpenCourseWare is a web based publication of virtually all MIT course content. OCW is open and available to the world and is a permanent MIT activity ocw.mit.edu Review / Preview 더보기 저번 시간 내용 : https://ikablog.tistory.com/4 1. 컴퓨터는 명령받은 내용만 수행한다. 2. Object들과 Typ.. 1강 - What is computation? 링크 Introduction to Computer Science and Programming in Python | Electrical Engineering and Computer Science | MIT OpenCourseWare _6.0001 Introduction to Computer Science and Programming in Python_ is intended for students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems and to help studen ocw.mit.edu .. 이전 1 2 3 4 5 다음