# 1번
n ** 0.5
# 2번
import math
math.sqrt(n)
'알고리즘 > Tip for Python' 카테고리의 다른 글
문자 위치 알려주기 (0) | 2023.04.21 |
---|---|
list to string (0) | 2023.04.21 |
리스트 컴프리헨션 (0) | 2023.04.21 |
divmod() (0) | 2023.04.21 |
list 뒤집기 (0) | 2023.04.21 |
# 1번
n ** 0.5
# 2번
import math
math.sqrt(n)
문자 위치 알려주기 (0) | 2023.04.21 |
---|---|
list to string (0) | 2023.04.21 |
리스트 컴프리헨션 (0) | 2023.04.21 |
divmod() (0) | 2023.04.21 |
list 뒤집기 (0) | 2023.04.21 |