diff --git a/baekjoon/python/silver5/q2417_int_square_root.py b/baekjoon/python/silver5/q2417_int_square_root.py new file mode 100644 index 00000000..ac9ced78 --- /dev/null +++ b/baekjoon/python/silver5/q2417_int_square_root.py @@ -0,0 +1,10 @@ +# https://www.acmicpc.net/problem/2417 +def solution(): + x = int(input()) + x = x**(1/2) + y = int(x) + if y < x : + print(y+1) + else: + print(y) +solution()