Skip to content

Commit 06a38a6

Browse files
github-actionsgithub-actions
github-actions
authored and
github-actions
committed
fixup! Format Python code with psf/black push
1 parent f772d45 commit 06a38a6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

machine_learning/linear_discriminant_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from math import log
4545
from os import name, system
4646
from random import gauss, seed
47-
from typing import TypeVar, Callable
47+
from typing import Callable, TypeVar
4848

4949

5050
# Make a training dataset drawn from a gaussian distribution

strings/can_string_be_rearranged_as_palindrome.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
# Counter is faster for long strings and non-Counter is faster for short strings.
99

1010

11-
def can_string_be_rearranged_as_palindrome_counter(input_str: str = "",) -> bool:
11+
def can_string_be_rearranged_as_palindrome_counter(
12+
input_str: str = "",
13+
) -> bool:
1214
"""
1315
A Palindrome is a String that reads the same forward as it does backwards.
1416
Examples of Palindromes mom, dad, malayalam

0 commit comments

Comments
 (0)