mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
15658bfe12
commit
20070c23e5
|
@ -25,6 +25,6 @@ def single_number(nums: list[int]) -> int:
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# Test cases
|
# Test cases
|
||||||
print(single_number([4, 1, 2, 1, 2])) # Output: 4
|
print(single_number([4, 1, 2, 1, 2])) # Output: 4
|
||||||
print(single_number([2, 2, 1])) # Output: 1
|
print(single_number([2, 2, 1])) # Output: 1
|
||||||
print(single_number([1])) # Output: 1
|
print(single_number([1])) # Output: 1
|
||||||
print(single_number([5, 3, 5, 7, 3])) # Output: 7
|
print(single_number([5, 3, 5, 7, 3])) # Output: 7
|
||||||
|
|
Loading…
Reference in New Issue
Block a user