전체 글 (15) 썸네일형 리스트형 6강 - Recursion and Dictionaries Lecture 6: Recursion and Dictionaries | Introduction to Computer Science and Programming in Python | Electrical Engineering and 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/12 1. Tuple, List 새로운 Datatype. 2. 얘네로 인해 만들.. 5강 In-class Questions 1번 더보기 함수의 입력값중 ('cloudy')는 괄호 안에 있어도 tuple이 아닌 string 취급이다. 원소가 하나인 tuple을 만들고 싶었다면 그 다음 입력값처럼 쉼표를 넣어줘야 한다. ('cold',) 그래서, first = 'c' + 'cold' 가 되고, 출력값은 ('sunny', 'ccold') 가 된다. 2번 더보기 for thing in L은 리스트 안에 있는 각 원소들을 대상으로 Loop를 실행하게 된다. 이때 42가 세 번째 원소로 있기 때문에 elif~ 조건을 만족하고, 리스트의 두 번째 원소는 "everything"으로 바뀐다. 리스트의 네 번째 원소는 0으로 if~ 조건을 만족하고, 이에 따라 L[thing], 즉 L[0]이 'universe'로 바뀐다. 결과적으로 ['uni.. 1단원 - 도함수 Calculus 1A: Differentiation How does the final velocity on a zip line change when the starting point is raised or lowered by a matter of centimeters? What is the accuracy of a GPS position measurement? How fast should an airplane travel to minimize fuel consumption? The answers to al openlearninglibrary.mit.edu 블로그 글처럼 쓰는 것에 얽매여 본질을 놓쳤다. 시간도 너무 오래 걸리고 진도도 안 나간다. 내가 공부하기 위해 시작한 프로젝트인데... 너무 꾸미지 .. 이전 1 2 3 4 5 다음