본문 바로가기

Python/code problem

[sw expert academy] 4406. 모음이 보이지 않는 사람

https://swexpertacademy.com/main/main.do

 

SW Expert Academy

SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!

swexpertacademy.com

 

vowel = ['a','e','i','o','u']
T = int(input())
for t in range(1,T+1):
    stng = str(input())
    for let in vowel:
        stng = stng.replace(let,'')
    print("#{} {}".format(t,stng))