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