Add expected outputs to examples
This commit is contained in:
1 parent
728c3f9290
commit
109bf4ac2c
1 file changed
+2
@@ -14,7 +14,9 @@ def convert_string_to_integer(data: str) -> int | Exception:
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
>>> convert_string_to_integer("4")
|
>>> convert_string_to_integer("4")
|
||||||
|
4
|
||||||
>>> convert_string_to_integer("3.0")
|
>>> convert_string_to_integer("3.0")
|
||||||
|
3
|
||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user