프로그래밍 원리와 실습
2022-1학기 HomeWork
202116266 김솔아 좌충우돌 파이썬
잘 작성하였습니다.
2020년 외에 연도를 바꾼다고 하면, 코드를 어디어디 수정해야 할 지 고민해보고, 수정을 최소화하려고 하면, 어떻게 코드를 작성하면 좋을 지 고민해보면 좋겠습니다.
리턴값이 문자열이 아닌 불린값으로 되어야 한다는 건 수업시간에 설명 드렸죠?
코멘트해두었습니다.
다운받은 csv 파일을 만진 것 같네요.
데이터를 최대한 코드에서 자동으로 처리할 수 있게 하는 게 좋습니다.
아래 코드에서 이미 구한 답이 변수에 담겨 있는데, 왜 화면에 출력된 값을 다시 옮겨 적었을까요?
https://github.com/ffe4el/202116266_pypython/blob/901cdb7e3d0791e9d61815451bb082365248cf45/HW11/betterprogramming.py#L32
데이터 파일명이 "ta_20220407110548.csv.csv"로 되어 있습니다.
수업시간에 이야기한 것처럼 "알려진 확장자 숨기기" 체크를 끄지 않으면 이런 실수가 종종 발생합니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.