본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 33950번 어게인 포닉스

by 현장 2025. 5. 27.

-Code

for _ in range(int(input())):
    s = input()
    print(s.replace("PO", "PHO"))