Algorithms

[λ°±μ€€] 10171번 : 고양이 Python

thals0 2022. 7. 2. 22:12
728x90

https://www.acmicpc.net/problem/10171

 

10171번: 고양이

μ•„λž˜ μ˜ˆμ œμ™€ 같이 고양이λ₯Ό 좜λ ₯ν•˜μ‹œμ˜€.

www.acmicpc.net

예제 좜λ ₯칸에 μžˆλŠ” 고양이 κ·ΈλŒ€λ‘œ 좜λ ₯ν•˜κΈ° 

print("\\    /\\")
print(" )  ( ')")
print("(  /  )")
print(" \\(__)|")

μ—­μŠ¬λ ˆμ‹œ(\) μ‚¬μš©μ‹œ 두 개λ₯Ό μ—°μ†ν•΄μ„œ 적어야(\\) μ—­μŠ¬λ ˆμ‹œ 인식이 λœλ‹€.

λ§Œμ•½ μ—­μŠ¬λ ˆμ‹œ 1개만 μ‚¬μš©μ‹œ μ»΄νŒŒμΌμ—λŸ¬ λ°œμƒ 

 

728x90