mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-02 20:06:50 +00:00
Used-list-instead-of-string-in-rot13.py-and-removed-n
This commit is contained in:
parent
1f681f5b97
commit
1a61d46d1d
@ -9,7 +9,7 @@ def dencrypt(s: str) -> str:
|
||||
>>> dencrypt(s) == msg
|
||||
True
|
||||
"""
|
||||
out = []
|
||||
out:list[str] = []
|
||||
n = 13
|
||||
for c in s:
|
||||
if "A" <= c <= "Z":
|
||||
|
Loading…
x
Reference in New Issue
Block a user