MapleStory Finger Point

๐Ÿ’Ž Python/Python_Code

ํŠน์ • ๋ฌธ์ž ์ง€์šฐ๊ธฐ - ํŒŒ์ด์ฌ for Beginner (2ํŒ) // self study 8-2

HYEJU01 2024. 3. 28. 03:49

inStr = "<<๋ฐฐ๊ณ >><ํŒŒ>>์š”<"
outStr =""

for i in range(0,len(inStr)) :
    if inStr[i] != '<' and inStr[i] != '>':
        outStr += inStr[i]

print("์›๋ž˜ ๋ฌธ์ž์—ด ==> " + '[' + inStr + ']' )
print("๊ณต๋ฐฑ ์‚ญ์ œ  ๋ฌธ์ž์—ด ==> " + '[' + outStr + ']' )