본문 바로가기

전체 글

8장 코드 ●  8장 조건문의 이해  1. 본문 174쪽 weather = "비"if weather == "비": print("비가 많이 옵니다.") print("우산을 챙겨 나가세요.") 2. 본문 176쪽 weather = "맑음"if weather == "비": print("비가 많이 옵니다.") print("우산을 챙겨 나가세요.") else: print("비가 오지 않습니다.") print("우산을 챙기지 않아도 괜찮습니다.") 3. 본문 178쪽 weather = "흐림"if weather == "비": print("비가 많이 옵니다.") print("우산을 챙겨 나가세요.") elif weather == "눈": print("눈이 옵니다.") print.. 더보기
8장 관련 질문 💡 질문 https://docs.google.com/forms/d/e/1FAIpQLSdrhRzlCaEil1oqKrubJuLAGwvKTL9JDq_65ba5cV9hCL4dsw/viewform?usp=sf_link 💡 답변 https://chrome-doll-8f0.notion.site/8-_-5a47e0ee47764b1dbf13d60e973b2aa2?pvs=4 더보기
8장 영상 강의 8장 영상 강의 ▼ 유튜브에서 보기 https://youtu.be/5NrEzm0w0uE 더보기
7장 관련 질문 💡 질문 https://docs.google.com/forms/d/e/1FAIpQLSf6Uh7jBuja32Yv76XSX9yPgttYmrNOYSXIPaeWRlZE2VxFzA/viewform?usp=sf_link 💡 답변 https://chrome-doll-8f0.notion.site/7-_-f9056496ccb943c29e60aa049e5ca6bc?pvs=4 더보기
7장 영상 강의 7장 영상 강의  ▼ 유튜브에서 보기 https://youtu.be/Q6ErCK3lrqQ 더보기
6장 코드 6장 함수를 만드는 방법  1. 본문 133쪽 def avg_of_three(a, b, c): total = (a+b+c)/3 return total avg_of_three(10, 20, 30)avg_of_three(12, 24, 30)avg_of_three(100, 200, 300)  2. 본문 134쪽 def avg_of_three(a, b, c): total = (a+b+c)/3 return total print(avg_of_three(10, 20, 30))print(avg_of_three(12, 24, 30))print(avg_of_three(100, 200, 300))  *코드 복사는 크롬 브라우저에서만 가능합니다. 크롬 외 브라우저(엣지, 웨일 등) 이용자는 아.. 더보기
6장 관련 질문 💡 질문 https://docs.google.com/forms/d/e/1FAIpQLSclPUpdq_ahvls9xxRdHHO-oNZfX8lO0_1d2iqcs2EzR_oNVQ/viewform?usp=sf_link 💡 답변 https://chrome-doll-8f0.notion.site/6-_-a16cec5b25a04c0091a334a65f5d9a08?pvs=4 더보기
6장 영상 강의 6장 영상 강의  ▼ 유튜브에서 보기 https://youtu.be/zXkwRZVEk1U 더보기