본문 바로가기
코딩테스트/코딩테스트(Python)

[코딩테스트] Python - 기본점검: 내장함수

by huginn30 2025. 4. 13.
반응형

1. 수학

- math.gcd(), math.pi, math.e, math.sqrt(), math.factorial(), math.ceil(), math.floor(), math.trunc(), math.round()

- abs, sum, int, float, min, max

2. 문자열

- str.isdecimal(), str.isdigit(), str.isalpha(), str.isnumeric()

- str.toupper(), str.tolower(), str.lower(), str.upper()

3. 이진탐색

- bisect

4. 내장함수

- zip, enumerate, divmod, ord, chr, eval

5. 순열/조합

- itertools: permutations, combinations, product, combinations_with_replacement

반응형