Skip to content

Commit 841a741

Browse files
committed
[#7] Feat: Add 크로아티아 알파벳
1 parent 9e86590 commit 841a741

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

2941.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# 크로아티아 알파벳
2+
3+
croatiaLetter = ['dz=', 'z=', 'c=', 'c-', 'd-', 'lj', 'nj', 's=']
4+
5+
croatiaWord = input()
6+
7+
for letter in croatiaLetter:
8+
croatiaWord = croatiaWord.replace(letter, '_')
9+
10+
print(len(croatiaWord))

0 commit comments

Comments
 (0)