-Code
a, b = map(int, input().split())
while True:
b += a
if b >= 5:
print("yt")
break
a += b
if a >= 5:
print("yj")
break
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 31867번 홀짝홀짝 (0) | 2024.05.21 |
---|---|
[백준/파이썬] 23925번 Retype (0) | 2024.05.20 |
[백준/파이썬] 5163번 Isn’t It Funny How a Bear Likes Honey? (0) | 2024.05.18 |
[백준/파이썬] 29918번 Leiutaja number üks (0) | 2024.05.17 |
[백준/파이썬] 31833번 온데간데없을뿐더러 (0) | 2024.05.16 |