Skip to content

Commit 52ace55

Browse files
committed
πŸͺ™ S5-17478
1 parent e9076ca commit 52ace55

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

β€ŽπŸͺ™ S5/17478.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
n = int(input())
2+
print("μ–΄λŠ ν•œ 컴퓨터곡학과 학생이 유λͺ…ν•œ κ΅μˆ˜λ‹˜μ„ μ°Ύμ•„κ°€ λ¬Όμ—ˆλ‹€.")
3+
def f(x):
4+
if x == n:
5+
print("____"*x + '"μž¬κ·€ν•¨μˆ˜κ°€ λ­”κ°€μš”?"')
6+
print("____"*x + '"μž¬κ·€ν•¨μˆ˜λŠ” 자기 μžμ‹ μ„ ν˜ΈμΆœν•˜λŠ” ν•¨μˆ˜λΌλ„€"')
7+
print("____"*x + "라고 λ‹΅λ³€ν•˜μ˜€μ§€.")
8+
return
9+
print("____"*x + '"μž¬κ·€ν•¨μˆ˜κ°€ λ­”κ°€μš”?"')
10+
print("____"*x + '"잘 λ“€μ–΄λ³΄κ²Œ. μ˜›λ‚ μ˜›λ‚  ν•œ μ‚° κΌ­λŒ€κΈ°μ— 이세상 λͺ¨λ“  지식을 ν†΅λ‹¬ν•œ 선인이 μžˆμ—ˆμ–΄.')
11+
print("____"*x + 'λ§ˆμ„ μ‚¬λžŒλ“€μ€ λͺ¨λ‘ κ·Έ μ„ μΈμ—κ²Œ μˆ˜λ§Žμ€ μ§ˆλ¬Έμ„ ν–ˆκ³ , λͺ¨λ‘ μ§€ν˜œλ‘­κ²Œ λŒ€λ‹΅ν•΄ μ£Όμ—ˆμ§€.')
12+
print("____"*x + '그의 닡은 λŒ€λΆ€λΆ„ μ˜³μ•˜λ‹€κ³  ν•˜λ„€. 그런데 μ–΄λŠ λ‚ , κ·Έ μ„ μΈμ—κ²Œ ν•œ μ„ λΉ„κ°€ μ°Ύμ•„μ™€μ„œ λ¬Όμ—ˆμ–΄."')
13+
f(x+1)
14+
print("____"*x + "라고 λ‹΅λ³€ν•˜μ˜€μ§€.")
15+
f(0)

0 commit comments

Comments
Β (0)