# class User: #User라는 class를 만들꺼야. User가 가진것, User가 할수 있는 것을 명시 # pass #별 정의없이 이번에는 그냥 넘어가자 class User: def __init__(self, user_id, user_name): self.id = user_id self.username = user_name self.followers = 0 self.following = 0 def follow(self, user): user.followers += 1 self.following += 1 user1 = User("001", "kio") user2 = User("002", "jack") print(user1.id, user1.username, user1.followers) prin..
https://docs.google.com/document/d/e/2PACX-1vTragRHILyj76AvVgpWeOlEaLBXoxPM_43SdEyffIKtOgarj42SoSAsK6LwLAdHQs2qFLGthRZds6ok/pub Coffee Machine Documentation MenuItem Class Attributes: (str) The name of the drink. e.g. “latte” (float) The price of the drink. e.g 1.5 (dictionary) The ingredients and amounts required to make the drink. e.g. {“water”: 100, “coffee”: 16} Menu Class Methods: Returns a..
https://www.rollingstone.com/culture/culture-news/steve-jobs-in-1994-the-rolling-stone-interview-231132/ Steve Jobs in 1994: The Rolling Stone Interview Even at one of the low points in his career, Jobs still had confidence in the limitless potential of personal computing www.rollingstone.com * 객체 지향 프로그래밍 - 가진것(has) > 속성(attributes) - 하는것(does) > 메소드(methods) - 속성과 메서드를 청사진화 > Class - Class를 통해..
MENU = { #중첩 dictionary, 메뉴별 리소스 사용량 및 판매가격 "espresso": { "ingredients": { "water": 50, "coffee": 18, }, "cost": 1.5, }, "latte": { "ingredients": { "water": 200, "milk": 150, "coffee": 24, }, "cost": 2.5, }, "cappuccino": { "ingredients": { "water": 250, "milk": 100, "coffee": 24, }, "cost": 3.0, } } resources = { #원재료 보유량 "water": 300, "milk": 200, "coffee": 100, } def check_make(order, tag): ..
- Total
- Today
- Yesterday
- exadata
- fromkeys
- 중복제거
- dp-2
- cloud-init
- powercli
- oracle
- 읽어오기
- 부동없이
- vmware.powercli
- virt-sysprep
- artandculture
- 3par
- 정렬
- EXA
- powershell
- 대소문자
- LIST
- 배열
- set()
- 차집합
- dp-1
- insert
- 스토리지
- Join
- dezoomify
- vmware
- 변수화
- storage
- sysprep
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 | 31 |