Skip to content

Commit 1aee9d0

Browse files
committed
Fix character case.
1 parent 6f02985 commit 1aee9d0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎python3.3/phonetic.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
for word in sys.argv[1:]:
4141
for char in word:
42-
if char not in phonetic_table: print(char.lower())
43-
else: print(char.lower() + ' - ' + phonetic_table[char])
42+
char = char.lower()
43+
if char not in phonetic_table: print(char)
44+
else: print(char + ' - ' + phonetic_table[char])
4445
print()

0 commit comments

Comments
 (0)