λ³Έλ¬Έ λ°”λ‘œκ°€κΈ°
βœ’οΈ Python Programming/μ–΄μ„œμ™€ νŒŒμ΄μ¬μ€ μ²˜μŒμ΄μ§€!_2019 Ver

[μ–΄μ„œμ™€ νŒŒμ΄μ¬μ€ μ²˜μŒμ΄μ§€!_2019 Ver] 7μž₯ Lab λ„μ „λ¬Έμ œ 풀이

by A Lim Han 2023. 2. 21.

# 7μž₯ Lab λ„μ „λ¬Έμ œ ν’€μ΄

 

 

338p_Lab λ„μ „λ¬Έμ œ)

phrase = input('λ¬Έμžμ—΄μ„ μž…λ ₯ν•˜μ‹œμ˜€: ')
phrase = phrase.replace("In","")
phrase = phrase.replace("The","")
phrase = phrase.replace("Of","")
phrase = phrase.replace("By","")

acro = ""

for word in phrase.upper().split():
        acro += word[0]

print(acro)