1152번: 단어의 개수 less than 1 minute read python words = input().split(' ') words = [word for word in words if word] print(len(words)) Share on Twitter Facebook LinkedIn Previous Next
1003번: 피보나치 함수 less than 1 minute read python ```python fibos = [0, 1] def get_fibo(n): try: return fibos[n] except IndexError: temp = get_fibo(n - 1) + get_fibo(n - 2) ...
1002번: 터렛 less than 1 minute read python T = int(input()) for _ in range(T): x1, y1, r1, x2, y2, r2 = [int(x) for x in input().split()] dist = ((x1 - x2) ** 2 + (y1 - y2) ** 2) ** 0.5...