"""
입출력 예시)
Marlin names this last egg Nemo, a name that Coral liked.
While attempting to save nemo, Marlin meets Dory,
a good-hearted and optimistic regal blue tang with short-term memory loss.
Upon leaving the East Australian Current,(888*%$^&%0928375)Marlin and Dory
NEMO leaves for school and Marlin watches NeMo swim away.
EOI
-> Found
Found
Missing
Missing
Found
"""
## 의사코드 ##
# 대소문자 상관 x -> 입력받은 문장.lower()로 소문자로 만들기
# if "nemo" in 문장:
# print("Found")
# else:
# print("Missing")
첫 번째 시도
import sys
while True:
s = sys.stdin.readline().lower()
if s == "eoi":
break
print("Found" if "nemo" in s else "Missing")
-> 출력 초과
통과한 코드
while True:
s = input()
if s == "EOI":
break
s = s.lower()
print("Found" if "nemo" in s else "Missing")