mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-13 16:27:28 +08:00
Add type hints for "strings" folder (#2882)
* Add type hints for strings/ folder * Rerun other checks * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
def palindromic_string(input_string):
|
||||
def palindromic_string(input_string: str) -> str:
|
||||
"""
|
||||
>>> palindromic_string('abbbaba')
|
||||
'abbba'
|
||||
|
Reference in New Issue
Block a user