| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 반복문
- 백준
- 함수
- predictive analysis
- Pre-processing
- Deep Learning
- function
- 포인터
- Python
- const
- C++
- 배열
- Object Oriented Programming
- 파이썬
- string
- array
- 티스토리챌린지
- Data Science
- programming
- pointer
- OOP
- assignment operator
- pass by reference
- Class
- 문자열
- vscode
- 알고리즘
- baekjoon
- 오블완
- raw data
- Today
- Total
목록전체 글 (188)
Channi Studies
An iterable is an object, obj, that produces an iterator via the syntax iter(obj).An iterator is an object that manages the iteration of a series of values. If variable it identifies an iterator object, then each call to the built-in function, next(it), produces a subsequent element from the underlying series, with a StopIteration exception raised to indicate that there are no further elements. ..
Python provides various bitwise operators that allow for convenient manipulation of the individual bits of a binary representation of an integer. For example, the integer 23 is represented in binary with rightmost bits 00010111 and the integer 13 is represented in binary with rightmost bits 00001101. The bitwise and operation, 23 & 13, produces integer 5, which has bit 1 in each position for whi..
Files and Exceptions To access a file, you must first open itOpen a file for reading (“r”) Open a file for writing (“w”) - If the output file already exists, it is emptied before the new data is written into it. - If the file does not exist, an empty file is created. To write in the file, - You MUST explicitly write the newline character (\n) to start a new line. - You can also write formatte..
tuple: An immutable sequence similar to a list.triple = (5, 10, 15)triple2 = 5, 10, 15When creating a tuple, you can either use or omit the paranthesis. 이 글에서는 튜플이 파이썬에서 사용되는 몇가지 간단한 예를 알아보겠습니다. 파이썬에서는 여러개의 인자를 입력받는 함수들이 존재합니다. 예를 들면 sum 함수가 있습니다. a = sum(1, 3) # Set a = 4b = sum(1, 3, 5, 7) # Set b = 16보시다시피 2개, 4개, 또는 그 이상의 인자를 입력 받습니다. 이러한 sum 함수를 직접 구현하자면, asterisk (*) 를 사용합니다.def sum(*val..