Skip to content

Commit 9ff2a0b

Browse files
committed
resolved doctest
1 parent 3e23055 commit 9ff2a0b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ciphers/a1z26.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ def encode(plain: str) -> list[int]:
1414
>>> encode("myname")
1515
[13, 25, 14, 1, 13, 5]
1616
>>> encode("ABCD")
17+
Traceback (most recent call last):
18+
...
1719
ValueError: plain must contain only lowercase letters (a-z)
1820
"""
1921
if not plain.islower() or not plain.isalpha():

0 commit comments

Comments
 (0)