Skip to content

Commit 45143cb

Browse files
committed
Update pig_latin.py
1 parent b8de9ac commit 45143cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pig-latin/pig_latin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def process_word(text: str) -> str:
6060
i = get_consonant_cluster_length(text)
6161
return f"{text[i + 1 :]}{text[: i + 1]}ay"
6262

63-
# raise ValueError(f"Unhandled word in Pig Latin translation: '{text}'")
63+
raise ValueError(f"Unhandled word in Pig Latin translation: '{text}'")
6464

6565

6666
def is_rule_3(text: str) -> bool:

0 commit comments

Comments
 (0)