일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 셀레니움
- X.org
- python
- literal
- Inheritance
- spring
- 자바
- systemd
- Unity
- Entity Set
- Binary Search
- descriptive statistics
- BFS
- Polymolphism
- dbms
- Operator
- Entity
- preprocessing
- X윈도우
- OOP
- External Scheme
- Java
- Mac
- 리눅스 마스터 1급
- Reference Type
- 백준
- 리눅스
- Physical Scheme
- selenium
- Class
- Today
- Total
목록Operator (3)
Byeol Lo
SQL의 연산자들을 살펴보자. 모든 연산자들은 다음과 같이 있다. https://dev.mysql.com/doc/refman/8.0/en/non-typed-operators.html MySQL :: MySQL 8.0 Reference Manual :: 12.4 Operators MySQL 8.0 Reference Manual / Functions and Operators / Operators Table 12.3 Operators Name Description Introduced Deprecated & Bitwise AND > Greater than operator >> Right shift >= Greater than or equal operator < Less than operator , != Not ..
수식을 프로그래밍언어에서는 expression이라고 부르고, 그안에는 operands(피연산자)와 operators(연산자)가 있다. Priority Operator Associativity Operand Description 1 [] . ++ -- +, - ~ ! new (type) ⇐ All Reference Integer, Float-point Integer, Float-point Integer, Float-point Integer Boolean Reference All 배열 요소 지정 객체 멤버 지정 값 증가 값 감소 부호에 사용 비트Bit 반전 논리Boolean 반전 객체 생성 (Casting) 형 변환 연산자 2 +, /, % ⇒ Integer, Float-point 산술 계산 3 +, - +..
from operator import itemgetter, attrgetter student_tuples = [ ('수학', 105), ('영어', 140), ('과학', 133), ('국어', 100) ] class Student : def __init__(self, name, grade, age) : self.name = name self.grade = grade self.age = age def __repr__(self) : return repr((self.name, self.grade, self.age)) student_objects = [ Student('홍길동', "A+", 22), Student('아이유', "A0", 20), Student('김구', "A+", 21), Student('야스..