mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-04 16:57:32 +08:00
refactor: Indent ... for visual purposes (#7744)
This commit is contained in:

committed by
GitHub

parent
e8915097c4
commit
9bba42eca8
@ -26,7 +26,7 @@ def solution(n: int = 998001) -> int:
|
||||
39893
|
||||
>>> solution(10000)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
ValueError: That number is larger than our acceptable range.
|
||||
"""
|
||||
|
||||
|
@ -30,15 +30,15 @@ def solution(n: int = 2000000) -> int:
|
||||
10
|
||||
>>> solution(7.1) # doctest: +ELLIPSIS
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
TypeError: 'float' object cannot be interpreted as an integer
|
||||
>>> solution(-7) # doctest: +ELLIPSIS
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
IndexError: list assignment index out of range
|
||||
>>> solution("seven") # doctest: +ELLIPSIS
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
TypeError: can only concatenate str (not "int") to str
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user