Skip to content

Commit b79db77

Browse files
committed
Merge branch 'main' into 5-pu2rile
2 parents 4b4c5d9 + 857ed43 commit b79db77

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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

Comments
ย (0)