Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 동적계획법과최단거리역추적
- Vue
- 코드품앗이
- 알고리즘
- DART
- cos pro
- codingtest
- AndroidStudio
- 동적계획법
- Python
- DFS와BFS
- issue
- 안드로이드스튜디오
- 코딩테스트
- 백준
- DFS
- Algorithm
- 안드로이드
- cos pro 1급
- django
- 파이썬
- 개발
- vuejs
- android
- C++
- BAEKJOON
- 분할정복
- Flutter
- cos
- 코테
Archives
- Today
- Total
목록cos 1급 2차 1번 python (1)
Development Artist
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dvwaBe/btrunN4SggC/3wb95wdKeKRadBDFZCBnT1/img.png)
문제 유형 빈칸 난이도 easy Note 1. 파이썬의 Class, def, self Code # -*- coding: utf-8 -*- # UTF-8 encoding when using korean # 2차 1번 from abc import * class Book(metaclass=ABCMeta): @abstractmethod def get_rental_price(self, day): pass class ComicBook(Book): def get_rental_price(self, day): cost = 500 day -= 2 if day > 0: cost += 200*day return cost class Novel(Book): def get_rental_price(self, day): cost = ..
Algorithm/COS
2022. 2. 25. 09:55