mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
refactor: Indent ... for visual purposes (#7744)
This commit is contained in:
committed by
GitHub
parent
e8915097c4
commit
9bba42eca8
@@ -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