mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 18:49:26 +08:00
Blacken our code (#2125)
* Blacken Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -54,7 +54,7 @@ def calculate_prob(text: str) -> None:
|
||||
3.0
|
||||
"""
|
||||
single_char_strings, two_char_strings = analyze_text(text)
|
||||
my_alphas = list(' ' + ascii_lowercase)
|
||||
my_alphas = list(" " + ascii_lowercase)
|
||||
# what is our total sum of probabilities.
|
||||
all_sum = sum(single_char_strings.values())
|
||||
|
||||
|
Reference in New Issue
Block a user