inStr = "<<๋ฐฐ๊ณ >><ํ>>์<"
outStr =""
for i in range(0,len(inStr)) :
if inStr[i] != '<' and inStr[i] != '>':
outStr += inStr[i]
print("์๋ ๋ฌธ์์ด ==> " + '[' + inStr + ']' )
print("๊ณต๋ฐฑ ์ญ์ ๋ฌธ์์ด ==> " + '[' + outStr + ']' )