We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4b4c5d9 + 857ed43 commit b79db77Copy full SHA for b79db77
โpu2rile/๋ฌธ์์ด/ํฌ๋ก์ํฐ์ ์ํ๋ฒณ.py
@@ -0,0 +1,5 @@
1
+change = ['c=','c-','dz=','d-','lj','nj','s=','z=']
2
+str = input()
3
+for n in change: #change์์ ํ๋์ฉ ๋ฃจํ ๋๋ฉฐ
4
+ str = str.replace(n, 'a') #str๊ณผ ๊ฐ์ ๋ฌธ์๋ฅผ ๋ฐ๊ฒฌํ๋ฉด ํด๋น ๋ฌธ์๋ฅผ a์ผ๋ก ์นํ
5
+print(len(str)) #str์ ๊ธธ์ด
0 commit comments