Day2
30 Days of ML with Kaggle [Day 2]-Hello, Python
30 Days of ML with Kaggle [Day 2]-Hello, Python
2021.08.0530 Days of ML with Kaggle의 Day 2 날이다. 오늘도 즐겁게 Assignment를 수행하자! Today's Assignment - day 2 Read this tutorial (from Lesson 1 of the Python course) Complete this exercise (from Lesson 1 of the Python course) Day 1에 공지했듯, 이번주는 파이썬의 기초를 다룬다. 우선은 Hello, Python! 이라는 스크립트를 읽어보고 이해하는 것 부터 시작해보자. 해당 코드를 실행시키면 어떤 결과물이 출력될까? 정말 간단하다. print(spam_amount)를 먼저 생각해보면, span_amount = 0이기 때문에 0이 출력될 것이다. 그리고 if문 ..